This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/characteristics/new/route.js
2015-11-05 14:18:59 -07:00

14 lines
404 B
JavaScript

import Ember from 'ember';
import ElevatedAccess from '../../../../mixins/elevated-access';
const { Route } = Ember;
export default Route.extend(ElevatedAccess, {
// Required for ElevatedAccess mixin
fallbackRouteBefore: 'protected.characteristics.index',
fallbackRouteAfter: 'protected.characteristics.show',
model: function() {
return this.store.createRecord('characteristic');
},
});