Adding another import for helpers appended by RequestHandlerComponent.

Fixes #2084.
This commit is contained in:
mark_story 2011-10-11 12:42:45 -04:00
parent db51c0539a
commit c4eb19ab91

View file

@ -553,6 +553,7 @@ class RequestHandlerComponent extends Component {
); );
if (!$isAdded) { if (!$isAdded) {
App::uses('AppHelper', 'View/Helper');
App::uses($helper . 'Helper', 'View/Helper'); App::uses($helper . 'Helper', 'View/Helper');
if (class_exists($helper . 'Helper')) { if (class_exists($helper . 'Helper')) {
$controller->helpers[] = $helper; $controller->helpers[] = $helper;