Skip to content

Commit

Permalink
Fixing bug in RequestHandler that was preventing the helper related t…
Browse files Browse the repository at this point in the history
…o content type to be loaded correctly
  • Loading branch information
lorenzo committed Feb 23, 2011
1 parent 2371ed9 commit b62c8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Component/RequestHandlerComponent.php
Expand Up @@ -541,7 +541,7 @@ public function renderAs($controller, $type, $options = array()) {
);

if (!$isAdded) {
App::uses($helper . 'Helper', 'Helper');
App::uses($helper . 'Helper', 'View/Helper');
if (class_exists($helper . 'Helper')) {
$controller->helpers[] = $helper;
}
Expand Down

0 comments on commit b62c8d8

Please sign in to comment.