more like 3.2

This commit is contained in:
Greg Ose
2014-09-24 13:25:13 -05:00
parent e1c7a232ca
commit 3fe553fa31

View File

@@ -272,7 +272,7 @@ module ActionDispatch
env[KEY] = new_hash
end
if session.key?('flash') && session['flash'].blank?
if session.key?('flash') && session['flash'].empty?
session.delete('flash')
end
end