diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-10-27 21:01:31 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-10-27 21:04:53 -0700 |
commit | cbcb947b00a7c6992cfe42c6b369e87b4fa4ee23 (patch) | |
tree | 303df6f42810dc11a6dfd545c0740046ea07db6a /activesupport/lib | |
parent | 9b67b7ba2f74067235c8bd8f9dc02fb6337eda52 (diff) | |
download | rails-cbcb947b00a7c6992cfe42c6b369e87b4fa4ee23.tar.gz rails-cbcb947b00a7c6992cfe42c6b369e87b4fa4ee23.tar.bz2 rails-cbcb947b00a7c6992cfe42c6b369e87b4fa4ee23.zip |
AS::Notifications.subscribe blocks are now yielded the arguments to pass to AS::Notifications::Event.new
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/notifications.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb index 139c66b1e1..2cf91fc383 100644 --- a/activesupport/lib/active_support/notifications.rb +++ b/activesupport/lib/active_support/notifications.rb @@ -96,7 +96,7 @@ module ActiveSupport def subscribe @queue.subscribe(@pattern) do |*args| - yield Event.new(*args) + yield *args end end end |