jobController Test

This commit is contained in:
Martin Müller 2014-03-02 12:26:38 +01:00
parent 4b92faf7eb
commit 397934001b
1 changed files with 3 additions and 4 deletions

View File

@ -38,14 +38,14 @@ class JobController extends AppController {
$this->render('/Job/opening_list');
}
}
/*
public function openingAdd() {
$this->MiconwareSession->init($this);
$this->MiconwareSession->initWeb($this);
/*
$this->set('kindofjobs', $this->DreamjobJobOpening->DreamjobListKindofjob->find('list'));
$this->set('graducations', $this->DreamjobJobOpening->DreamjobListGraducation->find('list'));
*/
if(empty($this->MiconwareSession->getCompany())){
$this->set('error', 'dreamjob.error.noCompany');
$this->render('/Home/error');
@ -62,7 +62,6 @@ class JobController extends AppController {
$this->render('/Job/opening_edit');
}
}
*/
public function openingEdit() {
$this->MiconwareSession->init($this);
$this->MiconwareSession->initWeb($this);