2019-10-23 12:39:32 -04:00
|
|
|
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
2016-06-15 13:49:57 -04:00
|
|
|
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,
|
|
|
|
});
|
|
|
|
},
|
|
|
|
});
|