diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-24 21:00:19 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-24 21:00:19 -0600 |
commit | b833c70982f1d919dba649dbe35060d213b2bc68 (patch) | |
tree | c1eac26094c2554960a32b1a4a4c5e2f58a476ab /app/controllers/api | |
parent | ecdae3e01695e92e54d640911c5164f882ec3cf7 (diff) |
Borra return redundante
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/addresses_controller.rb | 1 |
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 |