summaryrefslogtreecommitdiff
path: root/fai_gestion/plugins/CustomTheme/config/routes.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 13:24:18 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 13:26:14 +0200
commit31a40cfc446c9586f89a4aa69ef76d76d469e5a4 (patch)
treea68141ff714b1e91027d551d38fabc792bd498e7 /fai_gestion/plugins/CustomTheme/config/routes.php
parentc9939556d486da50f180ce424dd456252b1e0349 (diff)
downloadchd_gestion-31a40cfc446c9586f89a4aa69ef76d76d469e5a4.zip
chd_gestion-31a40cfc446c9586f89a4aa69ef76d76d469e5a4.tar.gz
chd_gestion-31a40cfc446c9586f89a4aa69ef76d76d469e5a4.tar.bz2
Bake : setup and create empty CustomTheme
Diffstat (limited to 'fai_gestion/plugins/CustomTheme/config/routes.php')
-rw-r--r--fai_gestion/plugins/CustomTheme/config/routes.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/fai_gestion/plugins/CustomTheme/config/routes.php b/fai_gestion/plugins/CustomTheme/config/routes.php
new file mode 100644
index 0000000..62cbd6c
--- /dev/null
+++ b/fai_gestion/plugins/CustomTheme/config/routes.php
@@ -0,0 +1,12 @@
+<?php
+use Cake\Routing\RouteBuilder;
+use Cake\Routing\Router;
+use Cake\Routing\Route\DashedRoute;
+
+Router::plugin(
+ 'CustomTheme',
+ ['path' => '/custom-theme'],
+ function (RouteBuilder $routes) {
+ $routes->fallbacks(DashedRoute::class);
+ }
+);