From 65c40769279eb6f5527f27b9882f45cab92aae4a Mon Sep 17 00:00:00 2001 From: amitkumarsuroliya Date: Tue, 25 Aug 2015 07:49:47 +0530 Subject: Remove unused block arguments --- actionpack/lib/action_dispatch/middleware/cookies.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') 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 -- cgit v1.2.3