diff --git a/app/routes/proposals/new.js b/app/routes/proposals/new.js index 4c3110c..657e6b2 100644 --- a/app/routes/proposals/new.js +++ b/app/routes/proposals/new.js @@ -4,12 +4,12 @@ import Route from 'ember-route'; export default Route.extend({ kredits: injectService(), - setupController(controller, model) { + setupController(controller) { this._super(...arguments); this.get('kredits').getContributors() .then((contributors) => { - this.controller.set('contributors', contributors); + controller.set('contributors', contributors); }); } });