lib/lograge/railtie.rb in lograge-0.5.1 vs lib/lograge/railtie.rb in lograge-0.6.0

- old
+ new

@@ -2,10 +2,10 @@ require 'action_view/log_subscriber' require 'action_controller/log_subscriber' module Lograge class Railtie < Rails::Railtie - config.lograge = ActiveSupport::OrderedOptions.new + config.lograge = Lograge::OrderedOptions.new config.lograge.enabled = false config.after_initialize do |app| Lograge.setup(app) if app.config.lograge.enabled end