Skip to content
Browse files

Remove superfluous assignment in cookies

  • Loading branch information...
1 parent 6a28c51 commit bed5825f775bdf2a1af6eec9dc1f4071dbde5ead @avakhov avakhov committed Oct 18, 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 bed5825

Please sign in to comment.
Something went wrong with that request. Please try again.