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