Class: Overule::Current

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