diff --git a/lib/pundit/authorization.rb b/lib/pundit/authorization.rb index cf2a2ae..93a6240 100644 --- a/lib/pundit/authorization.rb +++ b/lib/pundit/authorization.rb @@ -218,6 +218,8 @@ def pundit_params_for(record) # @!endgroup + # @!group Customize Pundit user + # Clears the cached Pundit authorization data. # # This method should be called when the pundit_user is changed, @@ -235,5 +237,7 @@ def pundit_reset! @_pundit_policy_authorized = nil @_pundit_policy_scoped = nil end + + # @!endgroup end end