From ae4f6b043a08f5f67acb7263466cf31a4b2019b3 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']);