From d262cc06a6dc1545419173b9e80b3cfd44e4e6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Sun, 2 Mar 2014 11:56:22 +0100 Subject: [PATCH] jobCOntroller --- app/Controller/AppController.php | 2 -- app/Controller/HomeController.php | 1 + app/Controller/JobController.php | 1 + app/Controller/UserController.php | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index acc9366..71c19aa 100755 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -32,8 +32,6 @@ App::uses('Controller', 'Controller'); */ class AppController extends Controller { - public $components = array('Security','MiconwareSession'); - function beforeFilter(){ parent::beforeFilter(); } diff --git a/app/Controller/HomeController.php b/app/Controller/HomeController.php index ddfd24f..3b1b451 100755 --- a/app/Controller/HomeController.php +++ b/app/Controller/HomeController.php @@ -9,6 +9,7 @@ class HomeController extends AppController { * * @var array */ + public $components = array('Security','MiconwareSession'); public $uses = array(); /** diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index 0f07c71..d75e7bb 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -9,6 +9,7 @@ class JobController extends AppController { * * @var array */ + public $components = array('Security','MiconwareSession'); public $uses = array('DreamjobJobOpening','DreamjobJobFavority','DreamjobJobApplication'); /** diff --git a/app/Controller/UserController.php b/app/Controller/UserController.php index 9c07da3..5242ab3 100755 --- a/app/Controller/UserController.php +++ b/app/Controller/UserController.php @@ -9,6 +9,7 @@ class UserController extends AppController { * * @var array */ + public $components = array('Security','MiconwareSession'); public $uses = array('DreamjobListGraducation','DreamjobWorker','DreamjobCompany','DreamjobPageText','DreamjobPageImage','DreamjobJobOpening'); /**