MAPG-47 introduce PositionController which replaces GetNewPosition and also calculates results
This commit is contained in:
1 parent
567238c979
commit
72a79d4267
3 files changed
+182
-36
No files matched your search
+2
-2
@@ -12,8 +12,8 @@ switch($url) {
|
||||
case '/game':
|
||||
$controller = new MapGuesser\Controller\GameController();
|
||||
break;
|
||||
case '/getNewPosition.json':
|
||||
$controller = new MapGuesser\Controller\GetNewPosition();
|
||||
case '/position.json':
|
||||
$controller = new MapGuesser\Controller\PositionController();
|
||||
break;
|
||||
case '/':
|
||||
header('Location: ' . $host . '/game', true, 302);
|
||||
|
||||
Reference in new issue
Block a user