summaryrefslogtreecommitdiff
path: root/src/Controller/Map.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Controller/Map.php')
-rw-r--r--src/Controller/Map.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Controller/Map.php b/src/Controller/Map.php
index 59c1e4e..6967470 100644
--- a/src/Controller/Map.php
+++ b/src/Controller/Map.php
@@ -11,7 +11,7 @@ use Symfony\Component\Routing\Annotation\Route;
class Map
{
#[Route(path: '/map/{x}/{y}/{range}', defaults: ['range' => 1], methods: ['GET'])]
- public function train(Request $request): Response
+ public function region(Request $request): Response
{
$x = $request->get('x');
$y = $request->get('y');