lib/minato/trace/railtie.rb in minato-trace-0.1.6.pre.2 vs lib/minato/trace/railtie.rb in minato-trace-0.1.6.pre.3
- old
+ new
@@ -2,11 +2,11 @@
module Minato
module Trace
class Railtie < ::Rails::Railtie
initializer "minato_trace_setup",
- before: "load_environment_config" do
- Minato::Trace.init
+ before: "load_environment_config" do |app|
+ Minato::Trace.init(app)
end
end
end
end