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
192 B
JavaScript
8 lines
192 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminWebHooksNewRoute extends DiscourseRoute {
|
|
model() {
|
|
return this.store.createRecord("web-hook");
|
|
}
|
|
}
|