mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: adds a /admin/reports route to list all reports
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user