Sha256: 3b4d10b932bb2714fd66cad77727b81101a17554cd3514489f5e73173e90fe4f

Contents?: true

Size: 309 Bytes

Versions: 22

Compression:

Stored size: 309 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
      end

    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
effective_logging-3.0.9 lib/effective_logging/set_current_user.rb
effective_logging-3.0.8 lib/effective_logging/set_current_user.rb
effective_logging-3.0.7 lib/effective_logging/set_current_user.rb
effective_logging-3.0.6 lib/effective_logging/set_current_user.rb
effective_logging-3.0.5 lib/effective_logging/set_current_user.rb
effective_logging-3.0.4 lib/effective_logging/set_current_user.rb
effective_logging-3.0.3 lib/effective_logging/set_current_user.rb
effective_logging-3.0.2 lib/effective_logging/set_current_user.rb
effective_logging-3.0.1 lib/effective_logging/set_current_user.rb
effective_logging-3.0.0 lib/effective_logging/set_current_user.rb
effective_logging-2.1.2 lib/effective_logging/set_current_user.rb
effective_logging-2.1.1 lib/effective_logging/set_current_user.rb
effective_logging-2.1.0 lib/effective_logging/set_current_user.rb
effective_logging-2.0.8 lib/effective_logging/set_current_user.rb
effective_logging-2.0.7 lib/effective_logging/set_current_user.rb
effective_logging-2.0.6 lib/effective_logging/set_current_user.rb
effective_logging-2.0.5 lib/effective_logging/set_current_user.rb
effective_logging-2.0.4 lib/effective_logging/set_current_user.rb
effective_logging-2.0.3 lib/effective_logging/set_current_user.rb
effective_logging-2.0.2 lib/effective_logging/set_current_user.rb