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