diff options
author | José Valim <jose.valim@gmail.com> | 2011-04-19 11:54:12 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-04-19 11:54:12 +0200 |
commit | a66c91723565d37969de4cb46baa50fb8865b02a (patch) | |
tree | 7eb51d421970713ec0a0d85bbd4474c8bd75f19b /actionpack/lib/action_dispatch/middleware | |
parent | 6380f1a9f45e68f38480c0805cac62eb6708f72e (diff) | |
download | rails-a66c91723565d37969de4cb46baa50fb8865b02a.tar.gz rails-a66c91723565d37969de4cb46baa50fb8865b02a.tar.bz2 rails-a66c91723565d37969de4cb46baa50fb8865b02a.zip |
Do not inherit from Rack::Response, remove a shit-ton of unused code.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/flash.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/flash.rb b/actionpack/lib/action_dispatch/middleware/flash.rb index 414405cc9e..735c72d34a 100644 --- a/actionpack/lib/action_dispatch/middleware/flash.rb +++ b/actionpack/lib/action_dispatch/middleware/flash.rb @@ -79,6 +79,7 @@ module ActionDispatch @used = Set.new @closed = false @flashes = {} + @now = nil end def []=(k, v) #:nodoc: |