mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:29:18 +08:00
13 lines
273 B
JavaScript
13 lines
273 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;
|