diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-21 22:55:13 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-21 22:55:13 +0100 |
| commit | f9ad3f4dc05252839457579303a4e0a0f94d8b80 (patch) | |
| tree | c78b8b5ce41f1a1dc1a8b5e6bbda2643729d7c4e /src/config/routes.php | |
| parent | ec77d2f77b96488b1bc170ced2abab12b3c19416 (diff) | |
| download | camagru-f9ad3f4dc05252839457579303a4e0a0f94d8b80.tar.gz camagru-f9ad3f4dc05252839457579303a4e0a0f94d8b80.zip | |
Add likes, comments, email notifications, and pagination to gallery
Diffstat (limited to 'src/config/routes.php')
| -rw-r--r-- | src/config/routes.php | 2 |
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'); |
