mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Restore flash sweep
This commit is contained in:
parent
a5f3f3ef7a
commit
7ace23abac
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue