custom-wizard-admin-route-map.js.es6 546 B

12345678910111213
  1. export default {
  2. resource: 'admin',
  3. map() {
  4. this.route('adminWizards', { path: '/wizards', resetNamespace: true }, function() {
  5. this.route('adminWizardsCustom', { path: '/custom', resetNamespace: true }, function() {
  6. this.route('adminWizard', { path: '/:wizard_id', resetNamespace: true });
  7. });
  8. this.route('adminWizardsSubmissions', { path: '/submissions', resetNamespace: true }, function() {
  9. this.route('adminWizardSubmissions', { path: '/:wizard_id', resetNamespace: true });
  10. });
  11. });
  12. }
  13. };