0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-15 22:32:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/custom-wizard-admin-route-map.js.es6

26 Zeilen
1 KiB
Text

2017-09-23 04:34:07 +02:00
export default {
resource: 'admin',
map() {
this.route('adminWizards', { path: '/wizards', resetNamespace: true }, function() {
2020-04-13 14:17:22 +02:00
this.route('adminWizardsWizard', { path: '/wizard/', resetNamespace: true }, function() {
this.route('adminWizardsWizardShow', { path: '/:wizardId/', resetNamespace: true });
2017-09-23 04:34:07 +02:00
});
2020-04-13 14:17:22 +02:00
2020-10-17 03:31:07 +02:00
this.route('adminWizardsCustomFields', { path: '/custom-fields', resetNamespace: true });
2017-10-05 02:36:46 +02:00
this.route('adminWizardsSubmissions', { path: '/submissions', resetNamespace: true }, function() {
2020-04-13 14:17:22 +02:00
this.route('adminWizardsSubmissionsShow', { path: '/:wizardId/', resetNamespace: true });
})
this.route('adminWizardsApi', { path: '/api', resetNamespace: true }, function() {
this.route('adminWizardsApiShow', { path: '/:name', resetNamespace: true });
});
2020-04-15 02:46:44 +02:00
this.route('adminWizardsLogs', { path: '/logs', resetNamespace: true });
this.route('adminWizardsManager', { path: '/manager', resetNamespace: true });
2017-09-23 04:34:07 +02:00
});
}
};