2016-06-15 13:49:57 -04:00
|
|
|
export default Ember.Route.extend({
|
|
|
|
model() {
|
2018-06-15 11:03:24 -04:00
|
|
|
return this.store.findAll("web-hook");
|
2016-06-15 13:49:57 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
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
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|