This commit is contained in:
parent
f684517432
commit
41bfcca04b
|
@ -54,7 +54,7 @@ class JobController extends AppController {
|
|||
$this->DreamjobJobOpening->data['DreamjobJobOpening']['company_id'] = $c['AppUser']['id'];
|
||||
if ($this->DreamjobJobOpening->save()) {
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.opening.save.add'), 'flash', array('alert' => 'success'));
|
||||
return $this->redirect(array('action' => 'openingByOpening','id'=>$this->DreamjobJobOpening->id));
|
||||
return $this->redirect(array('action' => 'applicationByOpening','id'=>$this->DreamjobJobOpening->id));
|
||||
} else {
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.opening.save.error'), 'flash', array('alert' => 'danger'));
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ class JobController extends AppController {
|
|||
$this->DreamjobJobOpening->data['DreamjobJobOpening']['company_id'] = $cid;
|
||||
if ($this->DreamjobJobOpening->save($this->DreamjobJobOpening->data)) {
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.opening.save'), 'flash', array('alert' => 'success'));
|
||||
return $this->redirect(array('action' => 'openingByOpening','id'=>$this->request->params['id']));
|
||||
return $this->redirect(array('action' => 'applicationByOpening','id'=>$this->request->params['id']));
|
||||
} else
|
||||
$this->MiconwareSession->setFlash(__('dreamjob.opening.save.error'), 'flash', array('alert' => 'danger'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue