diff --git a/app/Controller/JobController.php b/app/Controller/JobController.php index 3d607ae..77209f5 100644 --- a/app/Controller/JobController.php +++ b/app/Controller/JobController.php @@ -409,9 +409,8 @@ class JobController extends AppController { $view->set('application',$this->request->data); $view->set('profil',$w); - $view->layour('pdf'); - $pdf = $view->render('/Pdf/application_ext'); + $pdf = $view->render('/Pdf/application_ext','pdf'); $Email = new CakeEmail('dreamjobMain');