aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-02-11 00:43:37 -0800
committerGodfrey Chan <godfreykfc@gmail.com>2014-02-11 01:54:18 -0800
commit9fc7a6fcedd3adc820d9d481d9362313c356747b (patch)
tree8f504da229c7b9bd635f3576bde5bee56cfc8de1 /actionpack
parentb97e087321f33283d836c5b5964976c88230349a (diff)
downloadrails-9fc7a6fcedd3adc820d9d481d9362313c356747b.tar.gz
rails-9fc7a6fcedd3adc820d9d481d9362313c356747b.tar.bz2
rails-9fc7a6fcedd3adc820d9d481d9362313c356747b.zip
Missed FlashHash#replace
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/flash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb
index b82f0f0825..4821d2a899 100644
--- a/actionpack/lib/action_dispatch/middleware/flash.rb
+++ b/actionpack/lib/action_dispatch/middleware/flash.rb
@@ -160,7 +160,7 @@ module ActionDispatch
def replace(h) #:nodoc:
@discard.clear
- @flashes.replace h
+ @flashes.replace h.stringify_keys
self
end