Skip to content

Commit

Permalink
Merge pull request #2545 from burzum/3.0-fix-plugin-views
Browse files Browse the repository at this point in the history
Changing App::pluginPaths() to App::objects('Plugin') in View/View.php t...
  • Loading branch information
markstory committed Dec 25, 2013
2 parents a604b69 + 4e1c7a6 commit 6673522
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 6673522

Please sign in to comment.