45044c0f61
I’m not sure how the queryParams are used so I removed them. I’m happy to readd them.
16 lines
365 B
JavaScript
16 lines
365 B
JavaScript
import injectService from 'ember-service/inject';
|
|
import Route from 'ember-route';
|
|
|
|
export default Route.extend({
|
|
kredits: injectService(),
|
|
|
|
setupController(controller, model) {
|
|
this._super(...arguments);
|
|
|
|
this.get('kredits').getContributors()
|
|
.then((contributors) => {
|
|
this.controller.set('contributors', contributors);
|
|
});
|
|
}
|
|
});
|