diff options
Diffstat (limited to 'actionpack/lib/action_controller/flash.rb')
-rw-r--r-- | actionpack/lib/action_controller/flash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/flash.rb b/actionpack/lib/action_controller/flash.rb index 2544db2fda..534c74745e 100644 --- a/actionpack/lib/action_controller/flash.rb +++ b/actionpack/lib/action_controller/flash.rb @@ -63,7 +63,7 @@ module ActionController #:nodoc: end def update(h) #:nodoc: - h.keys.each{ |k| discard(k) } + h.keys.each { |k| keep(k) } super end |