Don't use a new request for every comment
This commit is contained in:
@@ -15,7 +15,6 @@ class CommentsController < ApplicationController
|
||||
|
||||
def update
|
||||
@comment.update! comment_params
|
||||
render :show
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
||||
Reference in New Issue
Block a user