lib/timber/frameworks/rails.rb in timber-2.0.12 vs lib/timber/frameworks/rails.rb in timber-2.0.14
- old
+ new
@@ -17,10 +17,10 @@
end
# Ensures that we insert the middlewares last. We need to insert these last
# because initializers, such as Omniauth, insert middleware. If we are not
# after these initializers we will not capture user context, for example.
- initializer(:timber_middlewares, before: :build_middleware_stack) do
+ initializer(:timber_middlewares, after: :engines_blank_point) do
Rails.configure_middlewares(config.app_middleware)
end
end
# This builds a new Timber::Logger from an existing logger. This allows us to transparentl
\ No newline at end of file