mirror of https://github.com/rancher/ui.git
21 lines
351 B
JavaScript
21 lines
351 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Controller.extend({
|
|
model: null,
|
|
editing: false,
|
|
|
|
queryParams: ['editing'],
|
|
|
|
actions: {
|
|
done() {
|
|
this.transitionTo('settings.projects').then(() => {
|
|
this.send('refreshKubernetes');
|
|
});
|
|
},
|
|
|
|
cancel() {
|
|
this.transitionTo('settings.projects');
|
|
},
|
|
},
|
|
});
|