Rename `KvHelpController` to `KvBaseController`
This commit is contained in:
parent
570728f6b0
commit
700d304d15
|
@ -65,7 +65,7 @@ App.DcController = Ember.Controller.extend({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
KvHelpController = Ember.ObjectController.extend({
|
KvBaseController = Ember.ObjectController.extend({
|
||||||
transitionToNearestParent: function(parent) {
|
transitionToNearestParent: function(parent) {
|
||||||
var controller = this;
|
var controller = this;
|
||||||
var rootKey = controller.get('rootKey');
|
var rootKey = controller.get('rootKey');
|
||||||
|
@ -87,7 +87,7 @@ KvHelpController = Ember.ObjectController.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
// Add mixins
|
// Add mixins
|
||||||
App.KvShowController = KvHelpController.extend(Ember.Validations.Mixin);
|
App.KvShowController = KvBaseController.extend(Ember.Validations.Mixin);
|
||||||
|
|
||||||
App.KvShowController.reopen({
|
App.KvShowController.reopen({
|
||||||
needs: ["dc"],
|
needs: ["dc"],
|
||||||
|
@ -153,7 +153,7 @@ App.KvShowController.reopen({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
App.KvEditController = KvHelpController.extend({
|
App.KvEditController = KvBaseController.extend({
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
needs: ["dc"],
|
needs: ["dc"],
|
||||||
dc: Ember.computed.alias("controllers.dc"),
|
dc: Ember.computed.alias("controllers.dc"),
|
||||||
|
|
Loading…
Reference in New Issue