diff --git a/Cake/View/View.php b/Cake/View/View.php index e4344756a6f..4fc45225625 100644 --- a/Cake/View/View.php +++ b/Cake/View/View.php @@ -929,7 +929,7 @@ protected function _getViewFileName($name = null) { $defaultPath = $paths[0]; if ($this->plugin) { - $pluginPaths = App::pluginPaths(); + $pluginPaths = App::objects('Plugin'); foreach ($paths as $path) { if (strpos($path, $pluginPaths[0]) === 0) { $defaultPath = $path;