Prefer modern syntax

This commit is contained in:
Jason Zimdars
2025-07-02 16:12:37 -05:00
parent 25a33fb9c8
commit 27aaa815c7
+1 -1
View File
@@ -30,6 +30,6 @@ class Cards::StepsController < ApplicationController
end
def step_params
params.require(:step).permit(:content, :completed)
params.expect(step: [ :content, :completed ])
end
end