Use the Html, Form and Paginator helpers from BoostCake
This commit is contained in:
parent
e42afcd76a
commit
d32bab4248
|
@ -32,7 +32,13 @@ App::uses('Controller', 'Controller');
|
||||||
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
|
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
|
||||||
*/
|
*/
|
||||||
class AppController extends Controller {
|
class AppController extends Controller {
|
||||||
public $helpers = array('Html', 'Form', 'Js');
|
public $helpers = array(
|
||||||
|
'Session',
|
||||||
|
'Js',
|
||||||
|
'Html' => array('className' => 'BoostCake.BoostCakeHtml'),
|
||||||
|
'Form' => array('className' => 'BoostCake.BoostCakeForm'),
|
||||||
|
'Paginator' => array('className' => 'BoostCake.BoostCakePaginator'),
|
||||||
|
);
|
||||||
public $components = array('Cookie', 'Session', 'RequestHandler');
|
public $components = array('Cookie', 'Session', 'RequestHandler');
|
||||||
|
|
||||||
public function beforeFilter() {
|
public function beforeFilter() {
|
||||||
|
|
Loading…
Reference in New Issue