mirror of
https://github.com/hanzoai/forum.git
synced 2026-09-30 21:51:19 +00:00
In this PR, we added functionality to hide the admin header for edit/new actions - https://github.com/discourse/discourse/pull/30175 To make it work properly, we have to rename `show` to `edit` which is also a more accurate name.
15 lines
290 B
JavaScript
15 lines
290 B
JavaScript
export default {
|
|
resource: "admin.adminPlugins.show",
|
|
path: "/plugins",
|
|
map() {
|
|
this.route(
|
|
"discourse-chat-incoming-webhooks",
|
|
{ path: "hooks" },
|
|
function () {
|
|
this.route("new");
|
|
this.route("edit", { path: "/:id/edit" });
|
|
}
|
|
);
|
|
},
|
|
};
|