open-nomad/ui/app/routes/variables/variable/edit.js
Phil Renaud e79fea2b4e Notify a user if they try to make a variable with an existing path (#13278)
* Notify a user if they try to make a variable with an existing path

* Stylize error fade

* Bugfix: if you click the dupe link to a variable you havent previously loaded, you lack its keyvalues

* rename and typefix for duplicate path warning
2022-07-11 13:34:04 -04:00

8 lines
173 B
JavaScript

import Route from '@ember/routing/route';
export default class VariablesVariableEditRoute extends Route {
model() {
return this.modelFor('variables.variable');
}
}