redirect nach Bewerbungsversand
This commit is contained in:
parent
f5c0d7dd29
commit
3d63c0dbf1
|
@ -349,6 +349,7 @@ class JobController extends AppController {
|
||||||
$result = $this->DreamjobJobApplication->sendApplication($this->request->data);
|
$result = $this->DreamjobJobApplication->sendApplication($this->request->data);
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success'));
|
$this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success'));
|
||||||
|
return $this->redirect(array('action' => 'applicationGet','id'=>$this->DreamjobJobApplication->id));
|
||||||
} else {
|
} else {
|
||||||
$this->MiconwareSession->setFlash(__('dreamjob.application.send.error'), 'flash', array('alert' => 'danger'));
|
$this->MiconwareSession->setFlash(__('dreamjob.application.send.error'), 'flash', array('alert' => 'danger'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue