From b833c70982f1d919dba649dbe35060d213b2bc68 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 24 Mar 2023 21:00:19 -0600 Subject: Borra return redundante --- app/controllers/api/addresses_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/api/addresses_controller.rb b/app/controllers/api/addresses_controller.rb index 110596c..e233fcc 100644 --- a/app/controllers/api/addresses_controller.rb +++ b/app/controllers/api/addresses_controller.rb @@ -41,7 +41,6 @@ module Api end rescue ActiveRecord::RecordNotUnique render json: { error_message: 'Ya cuenta con esta dirección' }, status: :unprocessable_entity - return end end -- cgit v1.2.3