Class: AuditWeasel::RequestRegistry
- Inherits:
-
Object
- Object
- AuditWeasel::RequestRegistry
- Extended by:
- ActiveSupport::PerThreadRegistry
- Defined in:
- lib/audit_weasel/request_registry.rb
Overview
Registry to store current user which can be accessed across the application
Instance Attribute Summary collapse
-
#current_user ⇒ Object
Returns the value of attribute current_user.
Instance Attribute Details
#current_user ⇒ Object
Returns the value of attribute current_user.
6 7 8 |
# File 'lib/audit_weasel/request_registry.rb', line 6 def current_user @current_user end |