Fixing bug in RequestHandler that was preventing the helper related to content type to be loaded correctly

This commit is contained in:
José Lorenzo Rodríguez 2011-02-22 23:42:14 -04:30
parent 2371ed9f15
commit b62c8d8ee2

View file

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