2017-09-23 10:34:07 +08:00
|
|
|
export default {
|
2021-03-28 20:06:49 +11:00
|
|
|
resource: "admin",
|
2017-09-23 10:34:07 +08:00
|
|
|
map() {
|
2021-03-28 20:06:49 +11: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-28 02:38:22 +05:30
|
|
|
|
2021-03-28 20:06:49 +11: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 14:07:12 +08:00
|
|
|
this.route(
|
|
|
|
"adminWizardsLogs",
|
|
|
|
{ path: "/logs", resetNamespace: true },
|
|
|
|
function () {
|
|
|
|
this.route("adminWizardsLogsShow", {
|
|
|
|
path: "/:wizardId/",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
);
|
2021-03-28 20:06:49 +11:00
|
|
|
|
|
|
|
this.route("adminWizardsManager", {
|
|
|
|
path: "/manager",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
2021-08-10 14:45:23 +08:00
|
|
|
|
2021-09-24 17:58:42 +08:00
|
|
|
this.route("adminWizardsSubscription", {
|
|
|
|
path: "/subscription",
|
2021-08-10 14:45:23 +08:00
|
|
|
resetNamespace: true,
|
|
|
|
});
|
2021-11-01 21:52:29 +08:00
|
|
|
|
|
|
|
this.route("adminWizardsNotices", {
|
|
|
|
path: "/notices",
|
|
|
|
resetNamespace: true,
|
|
|
|
});
|
2021-03-28 20:06:49 +11:00
|
|
|
}
|
|
|
|
);
|
|
|
|
},
|
2017-09-23 10:34:07 +08:00
|
|
|
};
|