mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
13 lines
334 B
JavaScript
13 lines
334 B
JavaScript
export default Discourse.Route.extend({
|
|
model(params) {
|
|
return this.store.findAll('web-hook-event', Ember.get(params, 'web_hook_id'));
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set('model', model);
|
|
},
|
|
|
|
renderTemplate() {
|
|
this.render('admin/templates/web-hooks-show-events', { into: 'admin' });
|
|
}
|
|
});
|