From 59be9d80d25a5547b2d3359d167e5c8b97549d14 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 7 Feb 2025 02:22:47 -0800 Subject: [PATCH] Remove redundant return --- app/controllers/api/v1/parties_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/parties_controller.rb b/app/controllers/api/v1/parties_controller.rb index d1543b4..94cf028 100644 --- a/app/controllers/api/v1/parties_controller.rb +++ b/app/controllers/api/v1/parties_controller.rb @@ -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