lib/rsyc/railtie.rb in rsyc-0.1.0 vs lib/rsyc/railtie.rb in rsyc-0.1.2

- old
+ new

@@ -1,10 +1,10 @@ require "rails" require "rsyc" module Rsyc class Railtie < Rails::Railtie - initializer "rsyc.init" do - Rails.application.config.app = Rsyc.new Rails.root.join('config', 'app.yml'), Rails.env + config.before_configuration do + config.app = Rsyc.new Rails.root.join('config', 'app.yml'), Rails.env end end end