mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Add hide_action pundit_policy_authorized?/pundit_policy_scoped?
This commit is contained in:
parent
145d7592c0
commit
a196d3af84
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue