From 3d63c0dbf1a1739d79d6059dd3855be5188a0b8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Mon, 12 May 2014 16:24:48 +0200 Subject: [PATCH] redirect nach Bewerbungsversand --- app/Controller/JobController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index 3979c22..a64b2ea 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -349,6 +349,7 @@ class JobController extends AppController { $result = $this->DreamjobJobApplication->sendApplication($this->request->data); if ($result) { $this->MiconwareSession->setFlash(__('dreamjob.application.send.success'), 'flash', array('alert' => 'success')); + return $this->redirect(array('action' => 'applicationGet','id'=>$this->DreamjobJobApplication->id)); } else { $this->MiconwareSession->setFlash(__('dreamjob.application.send.error'), 'flash', array('alert' => 'danger')); }