diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-25 14:06:20 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-25 14:06:20 -0700 |
commit | cff0d15e4b77d4a3f884f6f1c351a2d1660c8ccc (patch) | |
tree | 99bd0227fcc97f5037358b56042f5a4cda5f3e14 /actionpack | |
parent | c1bc70e229be479b99bc2100e7a26059a6c107eb (diff) | |
download | rails-cff0d15e4b77d4a3f884f6f1c351a2d1660c8ccc.tar.gz rails-cff0d15e4b77d4a3f884f6f1c351a2d1660c8ccc.tar.bz2 rails-cff0d15e4b77d4a3f884f6f1c351a2d1660c8ccc.zip |
nothing is passed to `rack_app` anymore, so rm the params
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/inspector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |