Skip to content

Commit e0f60a4

Browse files
committed
Fix non-Fastboot case
https://api.emberjs.com/ember/3.14/classes/Route/methods/setupController?anchor=setupController > If you implement the setupController hook in your Route, it will prevent this default behavior.
1 parent eeeacb7 commit e0f60a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export default Route.extend({
1616
];
1717
},
1818

19-
// eslint-disable-next-line no-unused-vars
20-
setupController(controller) {
19+
setupController(controller, model) {
20+
this._super(controller, model);
2121
this.controllerFor('application').set('searchQuery', null);
2222
},
2323

0 commit comments

Comments
 (0)