mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 21:20:41 +08:00
This change converts the admin webhooks UI to the new UI guidelines and modernizes the JS.
7 lines
192 B
JavaScript
Vendored
7 lines
192 B
JavaScript
Vendored
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default class AdminWebHooksNewRoute extends DiscourseRoute {
|
|
model() {
|
|
return this.store.createRecord("web-hook");
|
|
}
|
|
}
|