aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-12-28 17:14:22 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-12-28 17:14:22 -0800
commit77df5ba0a17b2e7587c7849429027ed71af8547a (patch)
tree10f60b45140d289f66e25e06eb556b6215c0d50d /actionpack
parent780a222dc2e888646aba4b6908ea78dba9d50722 (diff)
downloadrails-77df5ba0a17b2e7587c7849429027ed71af8547a.tar.gz
rails-77df5ba0a17b2e7587c7849429027ed71af8547a.tar.bz2
rails-77df5ba0a17b2e7587c7849429027ed71af8547a.zip
no need for bang bang :bomb:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/middleware/flash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb
index bc5b163931..fbcbfb9645 100644
--- a/actionpack/lib/action_dispatch/middleware/flash.rb
+++ b/actionpack/lib/action_dispatch/middleware/flash.rb
@@ -214,7 +214,7 @@ module ActionDispatch
protected
def now_is_loaded?
- !!@now
+ @now
end
# Used internally by the <tt>keep</tt> and <tt>discard</tt> methods