From cff0d15e4b77d4a3f884f6f1c351a2d1660c8ccc Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sun, 25 May 2014 14:06:20 -0700 Subject: [PATCH] nothing is passed to `rack_app` anymore, so rm the params --- actionpack/lib/action_dispatch/routing/inspector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb index ff8b730249..273f5b9306 100644 --- a/actionpack/lib/action_dispatch/routing/inspector.rb +++ b/actionpack/lib/action_dispatch/routing/inspector.rb @@ -12,7 +12,7 @@ module ActionDispatch requirements.except(:controller, :action) end - def rack_app(app = self.app) + def rack_app @rack_app ||= begin endpoint = app.app