summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-24 21:00:19 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-24 21:00:19 -0600
commitb833c70982f1d919dba649dbe35060d213b2bc68 (patch)
treec1eac26094c2554960a32b1a4a4c5e2f58a476ab /app/controllers
parentecdae3e01695e92e54d640911c5164f882ec3cf7 (diff)
Borra return redundante
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/api/addresses_controller.rb1
1 files changed, 0 insertions, 1 deletions
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