Skip to content
This repository
Browse code

Fixed bug in CacheHelper where PluginAppController was not being loaded

Signed-off-by: mark_story <mark@mark-story.com>
  • Loading branch information...
commit 30d6341e7f1ec9e36b3477471208e516ff756b59 1 parent fb3c3e4
Tigran Gabrielyan authored January 28, 2012 markstory committed January 28, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/Cake/View/Helper/CacheHelper.php
1  lib/Cake/View/Helper/CacheHelper.php
@@ -271,6 +271,7 @@ protected function _writeFile($content, $timestamp, $useCallbacks = false) {
271 271
 			";
272 272
 		} else {
273 273
 			$file .= "
  274
+			App::uses('{$this->_View->plugin}AppController', '{$this->_View->plugin}.Controller');
274 275
 			App::uses('{$this->_View->name}Controller', '{$this->_View->plugin}.Controller');
275 276
 			";
276 277
 		}

0 notes on commit 30d6341

Please sign in to comment.
Something went wrong with that request. Please try again.