summaryrefslogtreecommitdiff
path: root/fai_gestion/plugins/CustomTheme/config/routes.php
diff options
context:
space:
mode:
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);
+ }
+);