MAPG-69 make Redirect able to redirect to external sources
This commit is contained in:
1 parent
295570a28d
commit
99c72d99be
3 files changed
+7
-7
No files matched your search
@@ -7,6 +7,6 @@ class HomeController
|
||||
{
|
||||
public function getIndex(): IRedirect
|
||||
{
|
||||
return new Redirect([\Container::$routeCollection->getRoute('maps'), []], IRedirect::TEMPORARY);
|
||||
return new Redirect(\Container::$routeCollection->getRoute('maps')->generateLink(), IRedirect::TEMPORARY);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user