diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-10-19 00:28:33 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-10-19 00:28:33 -0700 |
commit | 89a164ab9b028d855023c88e4afcdf55276a1363 (patch) | |
tree | e2bc2317d57e2cc3d589aa68f16b2a61918d746d | |
parent | c2f3c9bf56534f8f50b4e47a7e18e822f6600bbe (diff) | |
parent | bed5825f775bdf2a1af6eec9dc1f4071dbde5ead (diff) | |
download | rails-89a164ab9b028d855023c88e4afcdf55276a1363.tar.gz rails-89a164ab9b028d855023c88e4afcdf55276a1363.tar.bz2 rails-89a164ab9b028d855023c88e4afcdf55276a1363.zip |
Merge pull request #3362 from avakhov/p-superfluous-assign-cookies
Remove superfluous assignment in cookies
-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 8c4615c0c1..a4ffd40a66 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -174,7 +174,7 @@ module ActionDispatch options = { :value => value } end - value = @cookies[key.to_s] = value + @cookies[key.to_s] = value handle_options(options) |