diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 1d3e553b7..5ca2f2a82 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -222,7 +222,7 @@ class PageController extends Controller { } } catch (RoomNotFoundException $e) { return new RedirectResponse($this->url->linkToRoute('core.login.showLoginForm', [ - 'redirect_url' => $this->url->linkToRoute('spreed.Page.index', ['token' => $token]), + 'redirect_url' => $this->url->linkToRoute('spreed.pagecontroller.showCall', ['token' => $token]), ])); } @@ -272,13 +272,13 @@ class PageController extends Controller { if ($room->getType() !== Room::PUBLIC_CALL) { throw new RoomNotFoundException(); } - return new RedirectResponse($this->url->linkToRoute('spreed.Page.index', ['token' => $token])); + return new RedirectResponse($this->url->linkToRoute('spreed.pagecontroller.showCall', ['token' => $token])); } catch (RoomNotFoundException $e) { return new RedirectResponse($this->url->linkToRoute('core.login.showLoginForm', [ - 'redirect_url' => $this->url->linkToRoute('spreed.Page.index', ['token' => $token]), + 'redirect_url' => $this->url->linkToRoute('spreed.pagecontroller.showCall', ['token' => $token]), ])); } } - return new RedirectResponse($this->url->linkToRoute('spreed.Page.index', ['token' => $token])); + return new RedirectResponse($this->url->linkToRoute('spreed.pagecontroller.showCall', ['token' => $token])); } }