set linker for Text- and HTML-mails
This commit is contained in:
parent
36597d7b84
commit
082f38ef49
4 changed files with 8 additions and 6 deletions
|
|
@ -35,8 +35,8 @@
|
|||
parent::preFilter($request, $response);
|
||||
|
||||
|
||||
// Set application URL
|
||||
$this->set('url', \nre\configs\AppConfig::$app['url']);
|
||||
// Set linker
|
||||
$this->set('linker', ($request instanceof \hhu\z\requests\MailRequest && !is_null($request->getLinker())) ? $request->getLinker() : null);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue