diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 00:43:37 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 01:54:18 -0800 |
commit | 9fc7a6fcedd3adc820d9d481d9362313c356747b (patch) | |
tree | 8f504da229c7b9bd635f3576bde5bee56cfc8de1 /actionpack/lib | |
parent | b97e087321f33283d836c5b5964976c88230349a (diff) | |
download | rails-9fc7a6fcedd3adc820d9d481d9362313c356747b.tar.gz rails-9fc7a6fcedd3adc820d9d481d9362313c356747b.tar.bz2 rails-9fc7a6fcedd3adc820d9d481d9362313c356747b.zip |
Missed FlashHash#replace
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/flash.rb | 2 |
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 |