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:
parent
c6bf21490f
commit
866140c196
2 changed files with 2 additions and 2 deletions
|
@ -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|
|
||||
|
|
|
@ -81,7 +81,7 @@ class CategoriesControllerTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
end
|
||||
|
||||
assert_response :no_content
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "bootstrap" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue