Sha256: 470d15f2673c4da63b6be7064cf6cab429ecd8c4c6750f97cc905fd805eb861e
Contents?: true
Size: 464 Bytes
Versions: 4
Compression:
Stored size: 464 Bytes
Contents
require "express_analytics/engine" require "express_analytics/default_logger" module ExpressAnalytics def self.initialize! initialize_filter! ActionDispatch::Reloader.to_prepare do ExpressAccess.initialize_filter! end end def self.initialize_filter! ActionController::Base.send(:include, ExpressAnalytics::DefaultLogger) puts "Added ExpressAnalytics::DefaultLogger to ActionController::Base" unless Rails.env.test? end end
Version data entries
4 entries across 4 versions & 1 rubygems