Browse files

Merge pull request #3362 from avakhov/p-superfluous-assign-cookies

Remove superfluous assignment in cookies
  • Loading branch information...
2 parents c2f3c9b + bed5825 commit 89a164ab9b028d855023c88e4afcdf55276a1363 @vijaydev vijaydev committed Oct 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/cookies.rb
View
2 actionpack/lib/action_dispatch/middleware/cookies.rb
@@ -174,7 +174,7 @@ def []=(key, options)
options = { :value => value }
end
- value = @cookies[key.to_s] = value
+ @cookies[key.to_s] = value
handle_options(options)

0 comments on commit 89a164a

Please sign in to comment.