fix: Missing Smarty variable in some routes

This commit is contained in:
Pierre Rudloff 2019-01-15 11:16:21 +01:00
parent 460aae34ac
commit e90b9e3439
1 changed files with 2 additions and 0 deletions

View File

@ -190,6 +190,7 @@ class FrontController
$response,
'password.tpl',
[
'config' => $this->config,
'class' => 'password',
'title' => _('Password prompt'),
'description' => _('You need a password in order to download this video with Alltube Download'),
@ -379,6 +380,7 @@ class FrontController
$response,
'error.tpl',
[
'config' => $this->config,
'errors' => $exception->getMessage(),
'class' => 'video',
'title' => _('Error'),