Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Missed FlashHash#replace

  • Loading branch information...
commit 9fc7a6fcedd3adc820d9d481d9362313c356747b 1 parent b97e087
Godfrey Chan chancancode authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/middleware/flash.rb
2  actionpack/lib/action_dispatch/middleware/flash.rb
View
@@ -160,7 +160,7 @@ def each(&block)
def replace(h) #:nodoc:
@discard.clear
- @flashes.replace h
+ @flashes.replace h.stringify_keys
self
end
Please sign in to comment.
Something went wrong with that request. Please try again.