I try to make a menu with
- a list view (posts)
- each item of the list should have its subroute, an independent view, without the list (posts/post/1)
- menu should always have its
active
class - a
new
route under the list view. (In my application it is actually a modal over the list)
I have managed to solve this, except for the last one: http://ift.tt/1RWt7Rv
posts/new should render under the posts list.
Aucun commentaire:
Enregistrer un commentaire