diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-06 03:29:47 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-06 03:29:47 -0800 |
commit | 432a95d88536696b65f0590b1624bd01fa88468f (patch) | |
tree | 0e5ab8e63a7d61e370ab8ef1a4a9486869bc2e26 /actionpack/lib/action_dispatch/middleware/remote_ip.rb | |
parent | 705b29bcb15f940294f17645ad91c02731f6861a (diff) | |
parent | 68367fd570fa9fa96b870d9abc66bc4a14fda113 (diff) | |
download | rails-432a95d88536696b65f0590b1624bd01fa88468f.tar.gz rails-432a95d88536696b65f0590b1624bd01fa88468f.tar.bz2 rails-432a95d88536696b65f0590b1624bd01fa88468f.zip |
Merge pull request #4342 from carlosantoniodasilva/fix-routing-test
Fix routing test and remove deprecated method
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/remote_ip.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/remote_ip.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/remote_ip.rb b/actionpack/lib/action_dispatch/middleware/remote_ip.rb index 66ece60860..030ccb2017 100644 --- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb +++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb @@ -33,8 +33,8 @@ module ActionDispatch class GetIp def initialize(env, middleware) - @env = env - @middleware = middleware + @env = env + @middleware = middleware @calculated_ip = false end |