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

Merge pull request #296 from m4i/add-hide-actions

Add hide_action pundit_policy_authorized?/pundit_policy_scoped?
This commit is contained in:
Jonas Nicklas 2015-07-10 12:09:28 +02:00
commit 7c121d5dd7

View file

@ -88,6 +88,8 @@ module Pundit
hide_action :pundit_user
hide_action :skip_authorization
hide_action :skip_policy_scope
hide_action :pundit_policy_authorized?
hide_action :pundit_policy_scoped?
end
end