Skip to content

Commit

Permalink
Removing hardcoded helpers from Controller and PagesController class …
Browse files Browse the repository at this point in the history
…since they are now lazy loaded
  • Loading branch information
lorenzo committed Mar 28, 2012
1 parent f688d57 commit f349c9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions app/Controller/PagesController.php
Expand Up @@ -38,12 +38,6 @@ class PagesController extends AppController {
*/
public $name = 'Pages';

/**
* Default helper
*
* @var array
*/
public $helpers = array('Html', 'Session');

/**
* This controller does not use a model
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Controller.php
Expand Up @@ -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.
* @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.
Expand Down

0 comments on commit f349c9e

Please sign in to comment.