Skip to content

Commit

Permalink
Checking that the config DSL can set the logger, since old versions o…
Browse files Browse the repository at this point in the history
…f it cannot and Rails plugin loading is cranky
  • Loading branch information
qrush committed Jan 27, 2010
1 parent 0cd7154 commit e5897af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hoptoad_notifier/rails_initializer.rb
Expand Up @@ -9,7 +9,7 @@ def self.initialize
end

HoptoadNotifier.configure(true) do |config|
config.logger = rails_logger
config.logger = rails_logger if config.respond_to? :logger
end
end
end
Expand Down

0 comments on commit e5897af

Please sign in to comment.