Don't use a new request for every comment

This commit is contained in:
Kevin McConnell
2025-01-07 14:14:12 +00:00
parent 21632f30cd
commit 4a4b4113c8
5 changed files with 25 additions and 24 deletions
-1
View File
@@ -15,7 +15,6 @@ class CommentsController < ApplicationController
def update
@comment.update! comment_params
render :show
end
def destroy