Removing hardcoded helpers from Controller and PagesController class since they are now lazy loaded

This commit is contained in:
Jose Lorenzo Rodriguez 2012-03-27 23:45:01 -04:30
parent f688d5777e
commit f349c9e34c
2 changed files with 1 additions and 7 deletions

View file

@ -38,12 +38,6 @@ class PagesController extends AppController {
*/ */
public $name = 'Pages'; public $name = 'Pages';
/**
* Default helper
*
* @var array
*/
public $helpers = array('Html', 'Session');
/** /**
* This controller does not use a model * This controller does not use a model

View file

@ -95,7 +95,7 @@ class Controller extends Object implements CakeEventListener {
* @var mixed A single name as a string or a list of names as an array. * @var mixed A single name as a string or a list of names as an array.
* @link http://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses * @link http://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses
*/ */
public $helpers = array('Session', 'Html', 'Form'); public $helpers = array();
/** /**
* An instance of a CakeRequest object that contains information about the current request. * An instance of a CakeRequest object that contains information about the current request.