From 18507a4c76abad7cf5e6e9572137d0dc5a977fcc Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Mon, 16 Jul 2018 15:36:21 +0200 Subject: first cake bake, auto-generated files not included for now --- fai_gestion/config/routes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fai_gestion/config') 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. -- cgit v1.1