adding remove participation method

This commit is contained in:
2019-11-28 16:38:03 +01:00
parent 6fe4594d3c
commit 8618efc35a
5 changed files with 103 additions and 3 deletions

View File

@@ -23,3 +23,11 @@ chill_event_participation_update_multiple:
path: /{event_id}/update_multiple
defaults: { _controller: ChillEventBundle:Participation:updateMultiple }
methods: [POST]
chill_event_participation_delete:
path: /{participation_id}/delete
requirements:
participation_id: \d+
defaults: { _controller: ChillEventBundle:Participation:delete }
methods: [ GET, DELETE ]