From 2bb213ef330408ed0108c75c0109b98593b7b78f Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Wed, 30 Oct 2019 06:06:40 +0000 Subject: [PATCH] Move the dashboard routes to home.yaml. #270 --- config/routes.yaml | 7 ------- config/routes/home.yaml | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 config/routes/home.yaml 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 +