diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-17 11:29:41 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-17 11:35:48 +0100 |
commit | 8f5e733998c2f06b63e72072c152546f2074c08e (patch) | |
tree | 46e6497fb3e714e12462012394606ef5c7b24791 /railties/lib/rails/subscriber.rb | |
parent | 0334f9f6cfa4c4c746de7e19250a13366b616c55 (diff) | |
download | rails-8f5e733998c2f06b63e72072c152546f2074c08e.tar.gz rails-8f5e733998c2f06b63e72072c152546f2074c08e.tar.bz2 rails-8f5e733998c2f06b63e72072c152546f2074c08e.zip |
Add notifications to default middleware stack and update subscriber tests.
Diffstat (limited to 'railties/lib/rails/subscriber.rb')
-rw-r--r-- | railties/lib/rails/subscriber.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/subscriber.rb b/railties/lib/rails/subscriber.rb index e8d13babf0..2674bf003e 100644 --- a/railties/lib/rails/subscriber.rb +++ b/railties/lib/rails/subscriber.rb @@ -66,7 +66,7 @@ module Rails subscriber.send(name, ActiveSupport::Notifications::Event.new(*args)) end - if args[0] == "action_dispatch.callback" && !subscribers.empty? + if args[0] == "action_dispatch.after_dispatch" && !subscribers.empty? flush_all! log_tailer.tail! if log_tailer end |