aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/notifications.rb')
-rw-r--r--activesupport/lib/active_support/notifications.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index 1444fc1609..bb5f497c83 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -65,7 +65,7 @@ module ActiveSupport
end
def subscribe(pattern = nil, &block)
- @queue.bind(pattern).subscribe(&block)
+ @queue.subscribe(pattern, &block)
end
def unsubscribe(subscriber)