jobController Test
This commit is contained in:
parent
4b92faf7eb
commit
397934001b
|
@ -38,14 +38,14 @@ class JobController extends AppController {
|
||||||
$this->render('/Job/opening_list');
|
$this->render('/Job/opening_list');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
public function openingAdd() {
|
public function openingAdd() {
|
||||||
$this->MiconwareSession->init($this);
|
$this->MiconwareSession->init($this);
|
||||||
$this->MiconwareSession->initWeb($this);
|
$this->MiconwareSession->initWeb($this);
|
||||||
|
/*
|
||||||
$this->set('kindofjobs', $this->DreamjobJobOpening->DreamjobListKindofjob->find('list'));
|
$this->set('kindofjobs', $this->DreamjobJobOpening->DreamjobListKindofjob->find('list'));
|
||||||
$this->set('graducations', $this->DreamjobJobOpening->DreamjobListGraducation->find('list'));
|
$this->set('graducations', $this->DreamjobJobOpening->DreamjobListGraducation->find('list'));
|
||||||
|
*/
|
||||||
if(empty($this->MiconwareSession->getCompany())){
|
if(empty($this->MiconwareSession->getCompany())){
|
||||||
$this->set('error', 'dreamjob.error.noCompany');
|
$this->set('error', 'dreamjob.error.noCompany');
|
||||||
$this->render('/Home/error');
|
$this->render('/Home/error');
|
||||||
|
@ -62,7 +62,6 @@ class JobController extends AppController {
|
||||||
$this->render('/Job/opening_edit');
|
$this->render('/Job/opening_edit');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
public function openingEdit() {
|
public function openingEdit() {
|
||||||
$this->MiconwareSession->init($this);
|
$this->MiconwareSession->init($this);
|
||||||
$this->MiconwareSession->initWeb($this);
|
$this->MiconwareSession->initWeb($this);
|
||||||
|
|
Loading…
Reference in New Issue