diff options
author | HombreLaser <sebastian-440@live.com> | 2023-04-06 11:48:20 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-04-06 11:48:20 -0600 |
commit | 4e3d24a5c68e3ab951fe0cf388bdc2ea1fdc050e (patch) | |
tree | 3a960e4f3940bffc9306a0660648e2d714cd9bea /app/controllers/api/cards_controller.rb | |
parent | ef0bd5e3ebd3822eca1aa12fb9e347ad397a295b (diff) |
Cambiar respuesta 303 de un delete por 204
Diffstat (limited to 'app/controllers/api/cards_controller.rb')
-rw-r--r-- | app/controllers/api/cards_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/cards_controller.rb b/app/controllers/api/cards_controller.rb index daf5f3a..f9f977b 100644 --- a/app/controllers/api/cards_controller.rb +++ b/app/controllers/api/cards_controller.rb @@ -39,7 +39,7 @@ module Api @card.destroy - render status: :see_other + render status: :no_content end private |