mirror of https://github.com/rancher/ui.git
14 lines
321 B
JavaScript
14 lines
321 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.ObjectController.extend({
|
|
needs: ['environment'],
|
|
actions: {
|
|
addService: function() {
|
|
this.get('controllers.environment').send('addService');
|
|
},
|
|
addBalancer: function() {
|
|
this.get('controllers.environment').send('addBalancer');
|
|
},
|
|
},
|
|
});
|