Use _path consistently in the controllers when not changing host

This commit is contained in:
David Heinemeier Hansson
2024-10-19 19:00:04 -07:00
parent 6c5db3826b
commit b7efd04a43
12 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ class CommentsController < ApplicationController
def create
@bubble.comment! params.expect(comment: [ :body ])
redirect_to bucket_bubble_url(@bucket, @bubble)
redirect_to bucket_bubble_path(@bucket, @bubble)
end
end