Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renaming Controller::_view() to Controller::_getViewObject()

  • Loading branch information...
commit 8d9acd9a8a9cbdc2775fd99a004e8c850e2c1849 1 parent bb91beb
@burzum burzum authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Controller/Controller.php
View
4 lib/Cake/Controller/Controller.php
@@ -930,7 +930,7 @@ public function render($view = null, $layout = null) {
}
}
- $this->View = $this->_view();
+ $this->View = $this->_getViewObject();
$models = ClassRegistry::keys();
foreach ($models as $currentModel) {
@@ -1221,7 +1221,7 @@ protected function _scaffoldError($method) {
*
* @return View
*/
- protected function _view() {
+ protected function _getViewObject() {
$viewClass = $this->viewClass;
if ($this->viewClass != 'View') {
list($plugin, $viewClass) = pluginSplit($viewClass, true);
Please sign in to comment.
Something went wrong with that request. Please try again.