mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 09:36:49 +08:00
This change converts the admin webhooks UI to the new UI guidelines and modernizes the JS.
7 lines
211 B
JavaScript
Vendored
7 lines
211 B
JavaScript
Vendored
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminWebHooksEditRoute extends DiscourseRoute {
|
|
model(params) {
|
|
return this.store.find("web-hook", params.web_hook_id);
|
|
}
|
|
}
|