1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 05:25:24 +02:00

Remove no_content status from update action

This commit is contained in:
Elvis Serrão 2025-01-28 16:11:27 -03:00
parent c6bf21490f
commit 866140c196
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ class CategoriesController < ApplicationController
flash[:notice] = t(".success")
respond_to do |format|
format.turbo_stream { render turbo_stream: turbo_stream.action(:redirect, categories_path), status: :no_content }
format.turbo_stream { render turbo_stream: turbo_stream.action(:redirect, categories_path) }
end
else
respond_to do |format|

View file

@ -81,7 +81,7 @@ class CategoriesControllerTest < ActionDispatch::IntegrationTest
end
end
assert_response :no_content
assert_response :success
end
test "bootstrap" do