12 lines
237 B
JavaScript
12 lines
237 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Route.extend({
|
|
model: function() {
|
|
return this.store.createRecord('strain');
|
|
},
|
|
actions: {
|
|
cancelStrain: function() {
|
|
this.transitionTo('strains.index');
|
|
}
|
|
}
|
|
});
|