aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/routes.php b/src/config/routes.php
index aa7e34e..5e3c88f 100644
--- a/src/config/routes.php
+++ b/src/config/routes.php
@@ -27,6 +27,8 @@ $router->post('/profile/notifications', 'ProfileController', 'updateNotification
// Gallery
$router->get('/gallery', 'GalleryController', 'index');
+$router->post('/gallery/{id}/like', 'GalleryController', 'like');
+$router->post('/gallery/{id}/comment', 'GalleryController', 'comment');
// Editor
$router->get('/editor', 'EditorController', 'show');