diff --git a/app/controllers/cards/comments_controller.rb b/app/controllers/cards/comments_controller.rb index f2e480100..6c87e89c7 100644 --- a/app/controllers/cards/comments_controller.rb +++ b/app/controllers/cards/comments_controller.rb @@ -33,6 +33,6 @@ class Cards::CommentsController < ApplicationController end def comment_params - params.require(:comment).permit(:body) + params.expect(comment: :body) end end