This commit is contained in:
Matthew Ryan Dillon 2015-10-16 11:07:09 -07:00
parent bcd2bbb4c4
commit d3355370fd
6 changed files with 4 additions and 10 deletions

View file

@ -9,7 +9,7 @@ export default Ember.Route.extend({
if (!currentUser.get('isAdmin') && currentUser.get('id') !== user_id) {
this.transitionTo('protected.users.index');
}
})
});
},
model: function(params) {