discourse/app/assets/javascripts/wizard/router.js.es6
2017-06-15 10:12:07 -04:00

13 lines
274 B
JavaScript

import getUrl from 'discourse-common/lib/get-url';
const Router = Ember.Router.extend({
rootURL: getUrl('/wizard/'),
location: Ember.testing ? 'none': 'history'
});
Router.map(function() {
this.route('step', { path: '/steps/:step_id' });
});
export default Router;