Remove redundant return
This commit is contained in:
parent
09dc344e35
commit
59be9d80d2
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ module Api
|
|||
# Deletes a party if the user has permission
|
||||
# @return [void]
|
||||
def destroy
|
||||
return render json: PartyBlueprint.render(@party, view: :destroyed, root: :checkin) if @party.destroy
|
||||
render json: PartyBlueprint.render(@party, view: :destroyed, root: :checkin) if @party.destroy
|
||||
end
|
||||
|
||||
# == Extended Party Actions
|
||||
|
|
|
|||
Loading…
Reference in a new issue