Skip to content

Commit

Permalink
Moves service to fire on setupController
Browse files Browse the repository at this point in the history
This fixes the bug:

> The first one is thrown when transitioning between routes with the same name but different params (e.g. from /articles/1 to /articles/2). The error is:

ref mike-north#83
  • Loading branch information
ryanlabouve committed Apr 17, 2018
1 parent d227442 commit 4428988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/ext/route.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Mixin from '@ember/object/mixin';

export default Mixin.create({
activate() {
setupController() {
this.get('perfService').routeActivated(this);
this._super(...arguments);
},
Expand Down

0 comments on commit 4428988

Please sign in to comment.