2017-09-23 04:34:07 +02:00
|
|
|
export default {
|
2021-03-28 11:06:49 +02:00
|
|
|
resource: "admin",
|
2017-09-23 04:34:07 +02:00
|
|
|
map() {
|
2021-03-28 11:06:49 +02:00
|
|
|
this.route(
|
|
|
|
"adminWizards",
|
|
|
|
{ path: "/wizards", resetNamespace: true },
|
|
|
|
function () {
|
|
|
|
this.route(
|
|
|
|
"adminWizardsWizard",
|
|
|
|
{ path: "/wizard/", resetNamespace: true },
|
|
|
|
function () {
|
|
|
|
this.route("adminWizardsWizardShow", {
|
|
|
|
path: "/:wizardId/",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
);
|
2019-07-27 23:08:22 +02:00
|
|
|
|
2021-03-28 11:06:49 +02:00
|
|
|
this.route("adminWizardsCustomFields", {
|
|
|
|
path: "/custom-fields",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
|
|
|
|
|
|
|
this.route(
|
|
|
|
"adminWizardsSubmissions",
|
|
|
|
{ path: "/submissions", resetNamespace: true },
|
|
|
|
function () {
|
|
|
|
this.route("adminWizardsSubmissionsShow", {
|
|
|
|
path: "/:wizardId/",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
this.route(
|
|
|
|
"adminWizardsApi",
|
|
|
|
{ path: "/api", resetNamespace: true },
|
|
|
|
function () {
|
|
|
|
this.route("adminWizardsApiShow", {
|
|
|
|
path: "/:name",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
2021-09-09 08:07:12 +02:00
|
|
|
this.route(
|
|
|
|
"adminWizardsLogs",
|
|
|
|
{ path: "/logs", resetNamespace: true },
|
|
|
|
function () {
|
|
|
|
this.route("adminWizardsLogsShow", {
|
|
|
|
path: "/:wizardId/",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
);
|
2021-03-28 11:06:49 +02:00
|
|
|
|
|
|
|
this.route("adminWizardsManager", {
|
|
|
|
path: "/manager",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
2021-08-10 08:45:23 +02:00
|
|
|
|
2021-09-24 11:58:42 +02:00
|
|
|
this.route("adminWizardsSubscription", {
|
|
|
|
path: "/subscription",
|
2021-08-10 08:45:23 +02:00
|
|
|
resetNamespace: true,
|
|
|
|
});
|
2021-11-01 14:52:29 +01:00
|
|
|
|
|
|
|
this.route("adminWizardsNotices", {
|
|
|
|
path: "/notices",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
2021-03-28 11:06:49 +02:00
|
|
|
}
|
|
|
|
);
|
|
|
|
},
|
2017-09-23 04:34:07 +02:00
|
|
|
};
|