mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
15 lines
402 B
JavaScript
15 lines
402 B
JavaScript
export default Ember.Route.extend({
|
|
model() {
|
|
return this.store.findAll('web-hook');
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.setProperties({
|
|
model,
|
|
eventTypes: model.extras.event_types,
|
|
defaultEventTypes: model.extras.default_event_types,
|
|
contentTypes: model.extras.content_types,
|
|
deliveryStatuses: model.extras.delivery_statuses
|
|
});
|
|
}
|
|
});
|