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
|
# Deletes a party if the user has permission
|
||||||
# @return [void]
|
# @return [void]
|
||||||
def destroy
|
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
|
end
|
||||||
|
|
||||||
# == Extended Party Actions
|
# == Extended Party Actions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue