I have a list of items and want to render the item template in a modal interface.
Requirements:
- the URL should update (and hence I should use a Route)
- the existing list of items should still be shown in the background (hence the modal interface)
However when using a route the last used route is automatically closed.
Note that there are 6 routes which all show a list of items. Making the item route a child of all these routes would be a bit cumbersome.
So far I've read through these API docs, without finding what I'm looking for:
- http://emberjs.com/api/classes/Ember.Route.html
- http://emberjs.com/guides/routing/
- http://emberjs.com/api/classes/Ember.Location.html
- http://emberjs.com/guides/routing/rendering-a-template/
If you dont know the answer, but have good links to share, please do
Possible solution
- On IRC it was suggested to simply render a modal using the render call (see the above link). However how can I change the URL in ember without it triggering a DOM update? (related question, Change the URL without triggering a DOM update)