Test new species (plus minor cleanup)
This commit is contained in:
parent
30e7000a81
commit
19ce579983
4 changed files with 21 additions and 1 deletions
|
@ -18,7 +18,7 @@ export default Mixin.create({
|
|||
},
|
||||
|
||||
afterModel: function(model) {
|
||||
if (!model.get('canEdit')) {
|
||||
if (!model.get('isNew') && !model.get('canEdit')) {
|
||||
this.transitionTo(this.get('fallbackRouteAfter'), model.get('id'));
|
||||
}
|
||||
},
|
||||
|
|
Reference in a new issue