Skip to content

Commit

Permalink
Fix linting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
wlonk committed Aug 31, 2016
1 parent 4176b21 commit 1d9cbac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/user/crates.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default Ember.Route.extend({
},

model(params) {
const user_id = this.paramsFor('user').user_id;
const { user_id } = this.paramsFor('user');
return this.store.find('user', user_id).then(
(user) => {
params.user_id = user.get('id');
Expand All @@ -24,7 +24,7 @@ export default Ember.Route.extend({
return this.replaceWith('index');
}
}
)
);
},
});

0 comments on commit 1d9cbac

Please sign in to comment.