lib/chambermaid/railtie.rb in chambermaid-0.4.0 vs lib/chambermaid/railtie.rb in chambermaid-0.4.1
- old
+ new
@@ -1,7 +1,7 @@
module Chambermaid
class Railtie < Rails::Railtie
- config.before_configuration do
+ config.after_initialize do
Chambermaid.logger = Rails.logger
Chambermaid.load!
end
end
end