discourse/app/assets/javascripts/admin/addon/routes/admin-web-hooks-show.js

8 lines
184 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({
model(params) {
return this.store.find("web-hook", params.web_hook_id);
},
});