diff options
Diffstat (limited to 'app/class/routes.php')
-rw-r--r-- | app/class/routes.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/class/routes.php b/app/class/routes.php index db57b77..9f3ce37 100644 --- a/app/class/routes.php +++ b/app/class/routes.php @@ -14,7 +14,8 @@ class Routes } $router->addMatchTypes(array('cid' => '[a-zA-Z0-9-_+,\'!%@&.$€=\(\|\)]+')); $router->addRoutes([ - ['GET|POST', '/', 'Controllerhome#desktop', 'home'], + ['GET', '/', 'Controllerhome#desktop', 'home'], + ['POST', '/columns', 'Controllerhome#columns', 'homecolumns'], ['POST', '/!co', 'Controllerconnect#log', 'log'], ['GET', '/!co', 'Controllerconnect#connect', 'connect'], ['POST', '/!search', 'Controllerhome#search', 'search'], @@ -40,6 +41,7 @@ class Routes ['GET', '/[cid:art]/edit', 'Controllerart#edit', 'artedit'], ['GET', '/[cid:art]/render', 'Controllerart#render', 'artrender'], ['GET', '/[cid:art]/log', 'Controllerart#log', 'artlog'], + ['GET', '/[cid:art]/download', 'Controllerart#download', 'artdownload'], ['POST', '/[cid:art]/edit', 'Controllerart#update', 'artupdate'], ['GET', '/[cid:art]/delete', 'Controllerart#confirmdelete', 'artconfirmdelete'], ['POST', '/[cid:art]/delete', 'Controllerart#delete', 'artdelete'], |