Permalink
Browse files

Merge pull request #14890 from fuzzyalej/patch-1

Added a missing `end`
  • Loading branch information...
2 parents d160ca4 + 535bd1a commit 3f5d14f78ea3549148757925898f776d68335090 @arthurnn arthurnn committed Apr 28, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 guides/source/active_support_instrumentation.md
View
1 guides/source/active_support_instrumentation.md
@@ -457,6 +457,7 @@ Most times you only care about the data itself. Here is a shortcut to just get t
ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args|
data = args.extract_options!
data # { extra: :information }
+end
```
You may also subscribe to events matching a regular expression. This enables you to subscribe to

0 comments on commit 3f5d14f

Please sign in to comment.