Redirect empty video page to index

This commit is contained in:
Pierre Rudloff 2016-06-09 21:15:44 +02:00
parent 0802492b6a
commit 06282c1aa4
2 changed files with 3 additions and 1 deletions

View file

@ -224,6 +224,8 @@ class FrontController
);
$container->view->render($response, 'footer.tpl');
}
} else {
return $response->withRedirect($container->get('router')->pathFor('index'));
}
}