Class: Overule::Current
- Inherits:
-
ActiveSupport::CurrentAttributes
- Object
- ActiveSupport::CurrentAttributes
- Overule::Current
- Defined in:
- app/models/overule/current.rb
Overview
Host apps set Current.actor in a before_action so activity log entries can attribute changes to a user. Falls back to nil when unset.