1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/custom-wizard-admin-route-map.js.es6

17 Zeilen
728 B
Text

2017-09-23 04:34:07 +02:00
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 });
2017-09-23 04:34:07 +02:00
});
2017-10-05 02:36:46 +02:00
this.route('adminWizardsSubmissions', { path: '/submissions', resetNamespace: true }, function() {
this.route('adminWizardSubmissions', { path: '/:wizard_id', resetNamespace: true });
});
this.route('adminWizardsApis', { path: '/apis', resetNamespace: true }, function() {
this.route('adminWizardsApi', { path: '/:name', resetNamespace: true });
});
2017-09-23 04:34:07 +02:00
});
}
};