open-vault/ui/app/routes/vault/cluster/access/identity/create.js

10 lines
243 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
import Ember from 'ember';
export default Ember.Route.extend({
model() {
let itemType = this.modelFor('vault.cluster.access.identity');
let modelType = `identity/${itemType}`;
return this.store.createRecord(modelType);
},
});