1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/custom-wizard-admin-route-map.js.es6
Angus McLeod 7b09410a26 various
2017-10-05 08:36:46 +08:00

13 Zeilen
546 B
JavaScript

export default {
resource: 'admin',
map() {
this.route('adminWizards', { path: '/wizards', resetNamespace: true }, function() {
this.route('adminWizardsCustom', { path: '/custom', resetNamespace: true }, function() {
this.route('adminWizard', { path: '/:wizard_id', resetNamespace: true });
});
this.route('adminWizardsSubmissions', { path: '/submissions', resetNamespace: true }, function() {
this.route('adminWizardSubmissions', { path: '/:wizard_id', resetNamespace: true });
});
});
}
};