Remove duplicate mixins
This commit is contained in:
parent
cd082ef616
commit
60f518d911
9 changed files with 9 additions and 18 deletions
|
@ -1,7 +1,6 @@
|
|||
import Ember from 'ember';
|
||||
import AuthenticatedRouteMixin from 'simple-auth/mixins/authenticated-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||||
export default Ember.Route.extend({
|
||||
afterModel: function(species) {
|
||||
if (!species.get('canEdit')) {
|
||||
this.transitionTo('species.show', species.get('id'));
|
||||
|
|
Reference in a new issue