14 lines
327 B
JavaScript
14 lines
327 B
JavaScript
|
import Route from '@ember/routing/route';
|
||
|
import { inject as service } from '@ember/service';
|
||
|
|
||
|
export default Route.extend({
|
||
|
store: service(),
|
||
|
secretMountPath: service(),
|
||
|
model() {
|
||
|
let model = this.store.createRecord('kmip/scope', {
|
||
|
backend: this.secretMountPath.currentPath,
|
||
|
});
|
||
|
return model;
|
||
|
},
|
||
|
});
|