aboutsummaryrefslogtreecommitdiff
path: root/app/class/routes.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-12 13:55:40 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-12 13:55:40 +0100
commite4768cd0647d934eff424f73bfd9f5c8f6223c94 (patch)
treeb36029a8152d79108e0dd57aacd73f80b7232b33 /app/class/routes.php
parent0f44c6d918a2932b68019c02de5bc55e7057600a (diff)
downloadwcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.tar.gz
wcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.zip
link+log
Diffstat (limited to 'app/class/routes.php')
-rw-r--r--app/class/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/routes.php b/app/class/routes.php
index 71b75d6..f240f6b 100644
--- a/app/class/routes.php
+++ b/app/class/routes.php
@@ -15,6 +15,8 @@ class Routes
$router->addMatchTypes(array('cid' => '[a-zA-Z0-9-_+,\'!%@&.$€=\(\|\)]+'));
$router->addRoutes([
['GET|POST', '/', 'Backrouter#run', 'backrouter'],
+ ['POST', '/!co', 'Controllerconnect#log', 'log'],
+ ['GET', '/!co', 'Controllerconnect#connect', 'connect'],
['GET', '/[cid:art]/', 'Controllerart#read', 'artread/'],
['GET', '/[cid:art]', 'Controllerart#read', 'artread'],
['GET', '/[cid:art]/add', 'Controllerart#add', 'artadd'],