lib/rack/insight/app.rb in rack-insight-0.5.28 vs lib/rack/insight/app.rb in rack-insight-0.5.29
- old
+ new
@@ -50,12 +50,12 @@
Rack::Insight::Config.config
end
def call(env)
@original_request = Rack::Request.new(env)
+ @env = env
+ self.options = @default_options
if insight_active?
- @env = env
- self.options = @default_options
Rack::Insight.enable
env["rack-insight.panels"] = []
@debug_stack.call(env)
else
@normal_stack.call(env)