From ade02f4736d1e3180096a47782c2a0535fa81f34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Fri, 16 Jun 2023 21:30:13 +0200 Subject: [PATCH] RVRNEXT-39 add endpoint for community delete --- web.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web.php b/web.php index 3ad14df..5b77f8c 100644 --- a/web.php +++ b/web.php @@ -70,6 +70,7 @@ Container::$routeCollection->group('communities', function (RouteCollection $rou $routeCollection->get('community.settings', 'settings', [CommunityController::class, 'getCommunitySettings']); $routeCollection->get('community.edit', 'edit', [CommunityController::class, 'getCommunityEdit']); $routeCollection->post('community.edit-action', 'edit', [CommunityController::class, 'saveCommunity']); + $routeCollection->post('community.delete-action', 'delete', [CommunityController::class, 'deleteCommunity']); $routeCollection->get('community.members', 'members', [CommunityController::class, 'getMembersEdit']); $routeCollection->post('community.members.new-action', 'members/new', [CommunityController::class, 'saveMember']); $routeCollection->post('community.members.edit-action', 'members/edit', [CommunityController::class, 'saveMember']);