diff --git a/config/routes.yaml b/config/routes.yaml index 65713be9..e3cc0585 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -3,10 +3,3 @@ # controller: App\Controller\DefaultController::index # # -home: - path: / - controller: App\Controller\HomeController::index - -rider_locations: - path: /rider_locations - controller: App\Controller\HomeController::getRiderLocations diff --git a/config/routes/home.yaml b/config/routes/home.yaml new file mode 100644 index 00000000..da111860 --- /dev/null +++ b/config/routes/home.yaml @@ -0,0 +1,8 @@ +home: + path: / + controller: App\Controller\HomeController::index + +rider_locations: + path: /rider_locations + controller: App\Controller\HomeController::getRiderLocations +