router.js 524 B

1234567891011121314151617
  1. import Ember from 'ember';
  2. import config from './config/environment';
  3. var Router = Ember.Router.extend({
  4. location: config.locationType
  5. });
  6. Router.map(function() {
  7. this.route("terms-of-service", { path: 'terms-of-service/' });
  8. this.route("privacy-policy", { path: 'privacy-policy/' });
  9. this.route("error-0", { path: 'error-0/' });
  10. this.route("error-403", { path: 'error-403/:reason/' });
  11. this.route("error-404", { path: 'error-404/' });
  12. this.route("not-found", { path: '*path' });
  13. });
  14. export default Router;