import Ember from 'ember'; import config from './config/environment'; const Router = Ember.Router.extend({ location: 'none', rootURL: config.rootURL }); Router.map(function() { this.route('test1', { path: '/' }, function() { this.route('test2'); }); this.route('misc', { path: '/:param' }); }); export default Router;