From 41bfcca04bf29896d8c17cca4c6b56cc32adf00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Wed, 7 May 2014 10:53:10 +0200 Subject: [PATCH] #260 --- app/Controller/JobController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index eae017b..5b85fc4 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -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')); }