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:
commit
e668404625
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ protected
|
|||
else
|
||||
"permitted_attributes"
|
||||
end
|
||||
params.require(param_key).permit(policy.public_send(method_name))
|
||||
params.require(param_key).permit(*policy.public_send(method_name))
|
||||
end
|
||||
|
||||
# Cache of policies. You should not rely on this method.
|
||||
|
|
Loading…
Reference in a new issue