From ec77d2f77b96488b1bc170ced2abab12b3c19416 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Sat, 21 Mar 2026 22:46:34 +0100 Subject: Add user's own posts grid and post deletion to editor page --- src/config/routes.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config/routes.php') diff --git a/src/config/routes.php b/src/config/routes.php index c8bb52f..aa7e34e 100644 --- a/src/config/routes.php +++ b/src/config/routes.php @@ -31,3 +31,4 @@ $router->get('/gallery', 'GalleryController', 'index'); // Editor $router->get('/editor', 'EditorController', 'show'); $router->post('/editor', 'EditorController', 'store'); +$router->post('/editor/delete/{id}', 'EditorController', 'destroy'); -- cgit v1.2.3