Skip to content
Permalink
Browse files

Adding another import for helpers appended by RequestHandlerComponent.

Fixes #2084.
  • Loading branch information...
markstory committed Oct 11, 2011
1 parent db51c05 commit c4eb19ab9185d0ad9ae0eae1397b380e82838104
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Controller/Component/RequestHandlerComponent.php
@@ -553,6 +553,7 @@ public function renderAs($controller, $type, $options = array()) {
);
if (!$isAdded) {
App::uses('AppHelper', 'View/Helper');
App::uses($helper . 'Helper', 'View/Helper');
if (class_exists($helper . 'Helper')) {
$controller->helpers[] = $helper;

0 comments on commit c4eb19a

Please sign in to comment.
You can’t perform that action at this time.