lib/trace_location/railtie.rb in trace_location-0.2.0 vs lib/trace_location/railtie.rb in trace_location-0.3.0
- old
+ new
@@ -1,11 +1,10 @@
# frozen_string_literal: true
module TraceLocation
class Railtie < ::Rails::Railtie # :nodoc:
- config.after_initialize do
+ config.before_initialize do
::TraceLocation.configure do |config|
- config.root_dir = Rails.root
config.dest_dir = Rails.root.join('log')
end
end
end
end