Use modern params#expect syntax

This commit is contained in:
David Heinemeier Hansson
2025-04-11 17:01:19 +02:00
parent 8a4a087a00
commit 5084bbf3b7
@@ -28,7 +28,7 @@ class Cards::Comments::ReactionsController < ApplicationController
end
def reaction_params
params.require(:reaction).permit(:content)
params.expect(reaction: :content)
end
def broadcast_create