Skip to content

Commit a889a4b

Browse files
authored
[WRSAT-472] make turbo handle cached pages with errors correctly (#200)
1 parent 7920a26 commit a889a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/forms/form_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def update
3838
after_update_success
3939
redirect_to(next_path)
4040
else
41-
render :edit
41+
render :edit, status: :unprocessable_content
4242
end
4343
end
4444

0 commit comments

Comments
 (0)