2020-05-31 20:44:14 +02:00
|
|
|
<?php namespace MapGuesser\Controller;
|
|
|
|
|
|
|
|
use MapGuesser\Interfaces\Response\IRedirect;
|
|
|
|
use MapGuesser\Response\Redirect;
|
|
|
|
|
|
|
|
class HomeController
|
|
|
|
{
|
|
|
|
public function getIndex(): IRedirect
|
|
|
|
{
|
2020-06-21 01:27:37 +02:00
|
|
|
return new Redirect(\Container::$routeCollection->getRoute('maps')->generateLink(), IRedirect::TEMPORARY);
|
2020-05-31 20:44:14 +02:00
|
|
|
}
|
|
|
|
}
|