Don't reload entire page when creating comment

This commit is contained in:
Kevin McConnell
2025-01-07 14:42:07 +00:00
parent 4a4b4113c8
commit 93536c3e41
5 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -10,6 +10,6 @@ class CommentsControllerTest < ActionDispatch::IntegrationTest
post bucket_bubble_comments_url(buckets(:writebook), bubbles(:logo), params: { comment: { body: "Agreed." } })
end
assert_redirected_to bucket_bubble_url(buckets(:writebook), bubbles(:logo))
assert_response :success
end
end