Permalink
Browse files

Fixed bug in CacheHelper where PluginAppController was not being loaded

Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information...
1 parent fb3c3e4 commit 30d6341e7f1ec9e36b3477471208e516ff756b59 @tigrang tigrang committed with markstory Jan 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/View/Helper/CacheHelper.php
@@ -271,6 +271,7 @@ protected function _writeFile($content, $timestamp, $useCallbacks = false) {
";
} else {
$file .= "
+ App::uses('{$this->_View->plugin}AppController', '{$this->_View->plugin}.Controller');
App::uses('{$this->_View->name}Controller', '{$this->_View->plugin}.Controller');
";
}

0 comments on commit 30d6341

Please sign in to comment.