ember.js - Ember routing: Changing Ember.Location's pathname -
my ember app resides @ url [server]/app
. ember's default hashlocation, urls turn out [server]/app#/[path]
, not [server]/app/#/[path]
. how can change ember.location.pathname /app
/app/
make url work?
how can change ember.location.pathname /app /app/ make url work?
one way achieve change default location history
app.router.reopen({ location: 'history' });
see here more info on that.
hope helps.
Comments
Post a Comment