Refactor proposals #38
@@ -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);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user