summaryrefslogtreecommitdiff
path: root/fai_gestion/config/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'fai_gestion/config/routes.php')
-rw-r--r--fai_gestion/config/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/fai_gestion/config/routes.php b/fai_gestion/config/routes.php
index b9b8c9f..97897bc 100644
--- a/fai_gestion/config/routes.php
+++ b/fai_gestion/config/routes.php
@@ -52,7 +52,8 @@ Router::scope('/', function (RouteBuilder $routes) {
* its action called 'display', and we pass a param to select the view file
* to use (in this case, src/Template/Pages/home.ctp)...
*/
- $routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']);
+ //$routes->connect('/', ['controller' => 'Pages', 'action' => 'display', 'home']);
+ $routes->redirect('/', ['controller' => 'Adherents'], ['full' => false]);
/**
* ...and connect the rest of 'Pages' controller's URLs.