module Pundit::Authorization
def pundit_user
-
(Object)
- the user object to be used with pundit
Other tags:
- See: #pundit_reset! -
See: #pundit -
See: https://github.com/varvet/pundit#customize-pundit-user -
Other tags:
- Note: - Make sure to call `pundit_reset!` if this changes during a request.
def pundit_user current_user end