MAPG-86 add home controller (only redirects now)
This commit is contained in:
parent
927b34956f
commit
44db217e8b
12
src/Controller/HomeController.php
Normal file
12
src/Controller/HomeController.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user