diff options
author | amitkumarsuroliya <amitkumarsuroliya@gmail.com> | 2015-08-25 07:49:47 +0530 |
---|---|---|
committer | amitkumarsuroliya <amitkumarsuroliya@gmail.com> | 2015-08-25 07:49:47 +0530 |
commit | 65c40769279eb6f5527f27b9882f45cab92aae4a (patch) | |
tree | 57063b1167d335e190f0559e883692d453e4a6b2 /actionpack/lib | |
parent | 211f55d4fdb5b962ef25037b035e69791915d4de (diff) | |
download | rails-65c40769279eb6f5527f27b9882f45cab92aae4a.tar.gz rails-65c40769279eb6f5527f27b9882f45cab92aae4a.tar.bz2 rails-65c40769279eb6f5527f27b9882f45cab92aae4a.zip |
Remove unused block arguments
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/cookies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index e4c5b0bd29..bdf21d19c6 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -8,7 +8,7 @@ require 'active_support/json' module ActionDispatch class Request < Rack::Request def cookie_jar - get_header('action_dispatch.cookies'.freeze) do |k| + get_header('action_dispatch.cookies'.freeze) do self.cookie_jar = Cookies::CookieJar.build(self, cookies) end end |