Skip to content

Commit

Permalink
Changing App::pluginPaths() to App::objects('Plugin') in View/View.ph…
Browse files Browse the repository at this point in the history
…p to make plugin views functional again
  • Loading branch information
Florian Krämer committed Dec 25, 2013
1 parent a604b69 commit 4e1c7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake/View/View.php
Expand Up @@ -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;
Expand Down

0 comments on commit 4e1c7a6

Please sign in to comment.