Sha256: e09eafe4e1da4633e6b9634fc48d5ed4d63da73bcb692492130fce1de3501159
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module EffectiveLogging module SetCurrentUser module ActionController # Add me to your ApplicationController # before_action :set_effective_logging_current_user def set_effective_logging_current_user EffectiveLogging.current_user = current_user yield if block_given? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_logging-3.0.10 | lib/effective_logging/set_current_user.rb |