Sha256: 7252cff38d3750d9cf1a36503b98faeff6d573b8e195a5da38f59dc2b42fe7a5
Contents?: true
Size: 420 Bytes
Versions: 19
Compression:
Stored size: 420 Bytes
Contents
require "rails/railtie" require "browser/action_controller" require "browser/middleware/context/additions" class Browser class Railtie < Rails::Railtie config.browser = ActiveSupport::OrderedOptions.new initializer "browser" do ::ActionController::Base.send :include, Browser::ActionController Browser::Middleware::Context.send :include, Browser::Middleware::Context::Additions end end end
Version data entries
19 entries across 19 versions & 2 rubygems