Redirect empty video page to index
This commit is contained in:
parent
0802492b6a
commit
06282c1aa4
2 changed files with 3 additions and 1 deletions
|
@ -224,6 +224,8 @@ class FrontController
|
|||
);
|
||||
$container->view->render($response, 'footer.tpl');
|
||||
}
|
||||
} else {
|
||||
return $response->withRedirect($container->get('router')->pathFor('index'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue