mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 17:55:27 +08:00

This change converts the admin webhooks UI to the new UI guidelines and modernizes the JS.
8 lines
211 B
JavaScript
8 lines
211 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminWebHooksEditRoute extends DiscourseRoute {
|
|
model(params) {
|
|
return this.store.find("web-hook", params.web_hook_id);
|
|
}
|
|
}
|