mirror of https://github.com/rails/rails
Restore flash sweep
This commit is contained in:
parent
a5f3f3ef7a
commit
7ace23abac
|
@ -170,7 +170,7 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
def call(env)
|
||||
if (session = env['rack.session']) && session.key?('flash')
|
||||
if (session = env['rack.session']) && (flash = session['flash'])
|
||||
flash.sweep
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue