1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Merge pull request #383 from MatthewRDodds/master

Add splat lost in merge
This commit is contained in:
Jonas Nicklas 2016-04-23 00:07:58 +02:00
commit e668404625

View file

@ -243,7 +243,7 @@ protected
else else
"permitted_attributes" "permitted_attributes"
end end
params.require(param_key).permit(policy.public_send(method_name)) params.require(param_key).permit(*policy.public_send(method_name))
end end
# Cache of policies. You should not rely on this method. # Cache of policies. You should not rely on this method.