mail appplication id

This commit is contained in:
Martin Müller 2014-04-22 22:40:25 +02:00
parent 7e0541e02d
commit f39ed5d9f9
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class DreamjobJobApplication extends AppModel {
$Email->to($mail);
$Email->subject('Welcome to our really cool thing');
$Email->template('job_application');
$Email->viewVars(array('app_id'=>$id));
$Email->viewVars(array('id'=>$id));
return $Email->send();
}

View File

@ -39,7 +39,7 @@ class DreamjobJobMsg extends AppModel {
$Email->to($mail);
$Email->subject('Welcome to our really cool thing');
$Email->template('job_application_msg');
$Email->viewVars(array('app_id'=>$id));
$Email->viewVars(array('id'=>$id));
return $Email->send();
}
public function sendMessage(){