Skip to content

Commit cd3f29b

Browse files
committed
Fix linting problems
1 parent 8a3130f commit cd3f29b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/routes/user/crates.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default Ember.Route.extend({
77
},
88

99
model(params) {
10-
const user_id = this.paramsFor('user').user_id;
10+
const { user_id } = this.paramsFor('user');
1111
return this.store.find('user', user_id).then(
1212
(user) => {
1313
params.user_id = user.get('id');
@@ -24,7 +24,7 @@ export default Ember.Route.extend({
2424
return this.replaceWith('index');
2525
}
2626
}
27-
)
27+
);
2828
},
2929
});
3030

0 commit comments

Comments
 (0)