aboutsummaryrefslogtreecommitdiff
path: root/app/class/routes.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-01-21 14:30:08 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-21 14:30:08 +0100
commita8ed9070e7773f3147a33dbee7d45ce24bd8959d (patch)
tree150fe13b57f7c20aa84b03bc41a1ca0aa9e7cfaf /app/class/routes.php
parent12c692b0aa0650ae3f05fc29bc5fa8b310d0dea0 (diff)
downloadwcms-a8ed9070e7773f3147a33dbee7d45ce24bd8959d.tar.gz
wcms-a8ed9070e7773f3147a33dbee7d45ce24bd8959d.zip
security htaccess, render class of link
Diffstat (limited to 'app/class/routes.php')
-rw-r--r--app/class/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/class/routes.php b/app/class/routes.php
index 2ccc269..db57b77 100644
--- a/app/class/routes.php
+++ b/app/class/routes.php
@@ -29,6 +29,7 @@ class Routes
['GET', '/!user', 'Controlleruser#desktop', 'user'],
['POST', '/!user/add', 'Controlleruser#add', 'useradd'],
['POST', '/!user/update', 'Controlleruser#update', 'userupdate'],
+ ['POST', '/!user/pref', 'Controlleruser#pref', 'userpref'],
['GET', '/!info', 'Controllerinfo#desktop', 'info'],
['GET', '/!timeline', 'Controllertimeline#desktop', 'timeline'],
['POST', '/!timeline/add', 'Controllertimeline#add', 'timelineadd'],
@@ -42,7 +43,7 @@ class Routes
['POST', '/[cid:art]/edit', 'Controllerart#update', 'artupdate'],
['GET', '/[cid:art]/delete', 'Controllerart#confirmdelete', 'artconfirmdelete'],
['POST', '/[cid:art]/delete', 'Controllerart#delete', 'artdelete'],
- //['GET', '/[cid:art]/[*]', 'Controllerart#artdirect', 'artread/etoile'],
+ ['GET', '/[cid:art]/[*]', 'Controllerart#artdirect', 'artread/etoile'],
]);
$match = $router->match();