Given this basic router definition for an Ember.js application taken straight from the Ember API docs here: http://emberjs.com/api/classes/Ember.Router.html
App = Ember.Application.create({
Router: Ember.Router.extend({
root: Ember.Route.extend({
index: Ember.Route.extend({
route: '/'
}),
... additional Ember.Routes ...
})
})
});
This will produce the following url in chrome:
localhost/
but in Firefox and IE produces:
localhost/#
Not only does it add the hash bang at the end but the back button has history in Firefox and IE to:
localhost/
However this "state" is not able to be refreshed. Refreshing will again take you to:
localhost/#
This seems like the router is somehow pushing 2 states but one is not really valid. Can someone please explain what I am missing here?