FEATURE: adds a /admin/reports route to list all reports

This commit is contained in:
Joffrey JAFFEUX
2018-06-18 12:31:56 +02:00
committed by GitHub
parent 4b604b1e68
commit f2dbe66367
14 changed files with 129 additions and 8 deletions

View File

@@ -95,10 +95,13 @@ export default function() {
}
);
this.route("adminReports", {
path: "/reports/:type",
resetNamespace: true
});
this.route(
"adminReports",
{ path: "/reports", resetNamespace: true },
function() {
this.route("show", { path: ":type" });
}
);
this.route(
"adminFlags",