diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 00:38:36 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-02-11 01:54:17 -0800 |
commit | b97e087321f33283d836c5b5964976c88230349a (patch) | |
tree | daf5538d0d43815908324b9bb86d23e95c9abfe9 /actionpack/lib | |
parent | cd5960e9761c8618a89bf40a3048e330fd08143c (diff) | |
download | rails-b97e087321f33283d836c5b5964976c88230349a.tar.gz rails-b97e087321f33283d836c5b5964976c88230349a.tar.bz2 rails-b97e087321f33283d836c5b5964976c88230349a.zip |
Fixed broken flash tests
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 1e45a38e5f..b82f0f0825 100644 --- a/actionpack/lib/action_dispatch/middleware/flash.rb +++ b/actionpack/lib/action_dispatch/middleware/flash.rb @@ -120,7 +120,7 @@ module ActionDispatch def update(h) #:nodoc: @discard.subtract stringify_array(h.keys) - @flashes.update h + @flashes.update h.stringify_keys self end |