RVRNEXT-39 add endpoint for community delete
Some checks failed
rvr-nextgen/pipeline/pr-master There was a failure building this commit

This commit is contained in:
Bence Pőcze 2023-06-16 21:30:13 +02:00
parent 038f20549d
commit ae4f6b043a
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

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