mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Add splat lost in merge, it was fixed elabs/pundit#291, closes elabs/pundit#353
This commit is contained in:
parent
146d7cbe76
commit
860edd6e1e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue