mirror of https://github.com/Rudloff/alltube.git
Redirect empty video page to index
This commit is contained in:
parent
0802492b6a
commit
06282c1aa4
|
@ -224,6 +224,8 @@ class FrontController
|
|||
);
|
||||
$container->view->render($response, 'footer.tpl');
|
||||
}
|
||||
} else {
|
||||
return $response->withRedirect($container->get('router')->pathFor('index'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue