13 lines
305 B
PHP
13 lines
305 B
PHP
<?php namespace MapGuesser\Controller;
|
|
|
|
use MapGuesser\Interfaces\Response\IRedirect;
|
|
use MapGuesser\Response\Redirect;
|
|
|
|
class HomeController
|
|
{
|
|
public function getIndex(): IRedirect
|
|
{
|
|
return new Redirect([\Container::$routeCollection->getRoute('maps'), []], IRedirect::TEMPORARY);
|
|
}
|
|
}
|