From a07415dacb00cfcf2a67e35438920b359e0d9ddb Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 31 May 2019 22:30:43 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - Routes updates --- site/plugins/admin/routes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/plugins/admin/routes.php b/site/plugins/admin/routes.php index 52717608..bd53e34e 100644 --- a/site/plugins/admin/routes.php +++ b/site/plugins/admin/routes.php @@ -25,8 +25,8 @@ $app->get('/admin/entries/rename', 'EntriesController:rename')->setName('admin.e $app->post('/admin/entries/rename', 'EntriesController:renameProcess')->setName('admin.entries.renameProcess'); $app->get('/admin/entries/type', 'EntriesController:type')->setName('admin.entries.type'); $app->post('/admin/entries/type', 'EntriesController:typeProcess')->setName('admin.entries.typeProcess'); -$app->get('/admin/entries/duplicate', 'EntriesController:duplicateProcess')->setName('admin.entries.duplicateProcess'); -$app->get('/admin/entries/delete', 'EntriesController:deleteProcess')->setName('admin.entries.deleteProcess'); +$app->post('/admin/entries/duplicate', 'EntriesController:duplicateProcess')->setName('admin.entries.duplicateProcess'); +$app->post('/admin/entries/delete', 'EntriesController:deleteProcess')->setName('admin.entries.deleteProcess'); // FieldsetsController $app->get('/admin/fieldsets', 'FieldsetsController:index')->setName('admin.fieldsets.index');