javascript - Hidden a list when user select a item in emberjs 2 -
i'm need show list in route , after user selected item show item nested route. example.
inside /locals
- show list of locals
locals/:id
- here show local details , hide local list.
how in emberjs 2? nested route don't work how expected.
you'll use index
route underneath locals
route, , show list in index
route, , redirect individual local
route when select local
.
|locals |____index |____local