2018-06-15 11:03:24 -04:00
|
|
|
import getUrl from "discourse-common/lib/get-url";
|
2016-09-22 14:39:36 -04:00
|
|
|
|
2016-08-31 11:30:51 -04:00
|
|
|
const Router = Ember.Router.extend({
|
2018-06-15 11:03:24 -04:00
|
|
|
rootURL: getUrl("/wizard/"),
|
|
|
|
location: Ember.testing ? "none" : "history"
|
2016-08-31 11:30:51 -04:00
|
|
|
});
|
2016-08-24 14:35:07 -04:00
|
|
|
|
2016-09-07 18:04:01 -04:00
|
|
|
Router.map(function() {
|
2018-06-15 11:03:24 -04:00
|
|
|
this.route("step", { path: "/steps/:step_id" });
|
2016-08-24 14:35:07 -04:00
|
|
|
});
|
|
|
|
|
|
|
|
export default Router;
|