Browse Source

Rename `KvHelpController` to `KvBaseController`

pull/124/head
William Tisäter 11 years ago committed by William Tisäter
parent
commit
0a1c719bcb
  1. 6
      ui/javascripts/app/controllers.js

6
ui/javascripts/app/controllers.js

@ -65,7 +65,7 @@ App.DcController = Ember.Controller.extend({
}
})
KvHelpController = Ember.ObjectController.extend({
KvBaseController = Ember.ObjectController.extend({
transitionToNearestParent: function(parent) {
var controller = this;
var rootKey = controller.get('rootKey');
@ -87,7 +87,7 @@ KvHelpController = Ember.ObjectController.extend({
});
// Add mixins
App.KvShowController = KvHelpController.extend(Ember.Validations.Mixin);
App.KvShowController = KvBaseController.extend(Ember.Validations.Mixin);
App.KvShowController.reopen({
needs: ["dc"],
@ -153,7 +153,7 @@ App.KvShowController.reopen({
}
});
App.KvEditController = KvHelpController.extend({
App.KvEditController = KvBaseController.extend({
isLoading: false,
needs: ["dc"],
dc: Ember.computed.alias("controllers.dc"),

Loading…
Cancel
Save