Ember Router Not Updating Url In Chrome And Safari
I have implemented to following in ember.js. The code works up to a certain point. The URL does not change when I enter the application at root url i.e. '/' where it should go to
Solution 1:
See this jsFiddle:
Code->http://jsfiddle.net/ud3323/WLcRQ/
Debug-> http://jsfiddle.net/ud3323/WLcRQ/show/
All you needed to do was change redirectsTo: 'tasks.index'
to redirectsTo: 'tasks'
.
You don't need to specify the destination state's starting route when using redirectsTo
when the destination state has a starting route defined (as you've done).
Post a Comment for "Ember Router Not Updating Url In Chrome And Safari"