ember-routing

ember-routing Module

Parent: ember

Ember-Location returns an instance of the correct implementation of the location API-

Implementations

You can pass an implementation name (hash, history, none) to force a particular implementation to be used in your application.

HashLocation

Using HashLocation results in URLs with a # (hash sign) separating the server side URL portion of the URL from the portion that is used by Ember. This relies upon the hashchange event existing in the browser.

Example:

App.Router.map(function() {
  this.route('posts', function() {
    this.route('new');
  });
});

App.Router.reopen({
  location: