Skip to content

Commit 85abf03

Browse files
committed
Remove unused data and crates properties.
Those two controllers (team, user) have been using only their models for some time now.
1 parent 8abda48 commit 85abf03

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

app/routes/team.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ export default Route.extend({
99
page: { refreshModel: true },
1010
sort: { refreshModel: true },
1111
},
12-
data: {},
13-
14-
setupController(controller) {
15-
this._super(...arguments);
16-
17-
controller.set('crates', this.get('data.crates'));
18-
},
1912

2013
model(params) {
2114
const { team_id } = params;

app/routes/user.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ export default Route.extend({
1010
sort: { refreshModel: true },
1111
},
1212

13-
data: {},
14-
1513
model(params) {
1614
const { user_id } = params;
1715
return this.store.queryRecord('user', { user_id }).then(
@@ -30,10 +28,4 @@ export default Route.extend({
3028
}
3129
);
3230
},
33-
34-
setupController(controller) {
35-
this._super(...arguments);
36-
37-
controller.set('crates', this.get('data.crates'));
38-
},
3931
});

0 commit comments

Comments
 (0)