mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
commit
78750e6dcc
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ module Pundit
|
|||
helper_method :pundit_user
|
||||
end
|
||||
if respond_to?(:hide_action)
|
||||
hide_action :policy_scope
|
||||
hide_action :policy_scope=
|
||||
hide_action :policy
|
||||
hide_action :policy=
|
||||
hide_action :authorize
|
||||
hide_action :verify_authorized
|
||||
hide_action :verify_policy_scoped
|
||||
|
|
Loading…
Reference in a new issue