mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
14 lines
334 B
Text
14 lines
334 B
Text
|
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' });
|
||
|
}
|
||
|
});
|