MAPG-4 rename GuessController to GameController

This commit is contained in:
bence committed 2020-05-19 16:13:57 +02:00
1 parent 5c9b54c881
commit dc943fa3cb
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ require '../main.php';
// very basic routing
$url = $_SERVER['REQUEST_URI'];
switch($url) {
case '/':
$controller = new MapGuesser\Controller\GuessController();
case '/game':
$controller = new MapGuesser\Controller\GameController();
break;
case '/getNewPosition.json':
$controller = new MapGuesser\Controller\GetNewPosition();