Skip to content
Browse files

Fix warning in AC flash

  • Loading branch information...
1 parent 2130566 commit 1c52bca2664457af5c004545f90c1eb3d47c487c @josh josh committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_controller/metal/flash.rb
View
1 actionpack/lib/action_controller/metal/flash.rb
@@ -149,6 +149,7 @@ def flash #:doc:
protected
def process_action(method_name)
+ @_flash = nil
super
@_flash.store(session) if @_flash
@_flash = nil

0 comments on commit 1c52bca

Please sign in to comment.
Something went wrong with that request. Please try again.