Class: AuditWeasel::RequestRegistry

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#current_userObject

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