diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2011-10-18 22:57:55 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2011-10-18 22:57:55 +0400 |
commit | bed5825f775bdf2a1af6eec9dc1f4071dbde5ead (patch) | |
tree | 63143eb45483ab515ad491783bfcc60695e668e9 /actionpack/lib/action_dispatch | |
parent | 6a28c512e358a95bbabd24af9d2b0608df787158 (diff) | |
download | rails-bed5825f775bdf2a1af6eec9dc1f4071dbde5ead.tar.gz rails-bed5825f775bdf2a1af6eec9dc1f4071dbde5ead.tar.bz2 rails-bed5825f775bdf2a1af6eec9dc1f4071dbde5ead.zip |
Remove superfluous assignment in cookies
Diffstat (limited to 'actionpack/lib/action_dispatch')
-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) |