From a196d3af844194f5492e45b4d4853c8e6a780cfa Mon Sep 17 00:00:00 2001 From: Masaki Takeuchi Date: Fri, 10 Jul 2015 13:14:05 +0900 Subject: [PATCH] Add hide_action pundit_policy_authorized?/pundit_policy_scoped? --- lib/pundit.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pundit.rb b/lib/pundit.rb index 79f0380..610419f 100644 --- a/lib/pundit.rb +++ b/lib/pundit.rb @@ -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