Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-30 04:30:29 +01:00
f331f80cbb
- New api metadata model - New api id system - Minor UI updates
16 Zeilen
728 B
JavaScript
16 Zeilen
728 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 });
|
|
});
|
|
this.route('adminWizardsApis', { path: '/apis', resetNamespace: true }, function() {
|
|
this.route('adminWizardsApi', { path: '/:name', resetNamespace: true });
|
|
});
|
|
});
|
|
}
|
|
};
|