Skip to content

Commit 9bd7969

Browse files
committed
routes/dashboard: Replace deprecated find() with query() call
1 parent ccdb185 commit 9bd7969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/dashboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ export default Ember.Route.extend(AuthenticatedRoute, {
2222
},
2323

2424
afterModel(user) {
25-
let myCrates = this.store.find('crate', {
25+
let myCrates = this.store.query('crate', {
2626
user_id: user.get('id')
2727
});
2828

29-
let myFollowing = this.store.find('crate', {
29+
let myFollowing = this.store.query('crate', {
3030
following: 1
3131
});
3232

0 commit comments

Comments
 (0)