Restore flash sweep

This commit is contained in:
Jeremy Kemper 2010-06-05 21:31:16 -07:00
parent a5f3f3ef7a
commit 7ace23abac
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ module ActionDispatch
end end
def call(env) def call(env)
if (session = env['rack.session']) && session.key?('flash') if (session = env['rack.session']) && (flash = session['flash'])
flash.sweep flash.sweep
end end