From b62c8d8ee236452a70dcf276a19cad10e2886c17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Lorenzo=20Rodri=CC=81guez?= Date: Tue, 22 Feb 2011 23:42:14 -0430 Subject: [PATCH] Fixing bug in RequestHandler that was preventing the helper related to content type to be loaded correctly --- lib/Cake/Controller/Component/RequestHandlerComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/RequestHandlerComponent.php b/lib/Cake/Controller/Component/RequestHandlerComponent.php index 41b6bd928..56cf6c448 100644 --- a/lib/Cake/Controller/Component/RequestHandlerComponent.php +++ b/lib/Cake/Controller/Component/RequestHandlerComponent.php @@ -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; }