Permalink
Browse files

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

  • Loading branch information...
1 parent bb91beb commit 8d9acd9a8a9cbdc2775fd99a004e8c850e2c1849 @burzum burzum committed Jan 25, 2013
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);

0 comments on commit 8d9acd9

Please sign in to comment.