Fixed bug in CacheHelper where PluginAppController was not being loaded

Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
Tigran Gabrielyan 2012-01-28 18:58:30 -08:00 committed by mark_story
parent fb3c3e4df8
commit 30d6341e7f

View file

@ -271,6 +271,7 @@ class CacheHelper extends AppHelper {
";
} else {
$file .= "
App::uses('{$this->_View->plugin}AppController', '{$this->_View->plugin}.Controller');
App::uses('{$this->_View->name}Controller', '{$this->_View->plugin}.Controller');
";
}