Permalink
Browse files

Missed FlashHash#replace

  • Loading branch information...
1 parent b97e087 commit 9fc7a6fcedd3adc820d9d481d9362313c356747b @chancancode chancancode committed Feb 11, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/middleware/flash.rb
@@ -160,7 +160,7 @@ def each(&block)
def replace(h) #:nodoc:
@discard.clear
- @flashes.replace h
+ @flashes.replace h.stringify_keys
self
end

0 comments on commit 9fc7a6f

Please sign in to comment.