aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorArthur Nogueira Neves <arthurnn@gmail.com>2014-04-28 12:58:57 -0300
committerArthur Nogueira Neves <arthurnn@gmail.com>2014-04-28 12:58:57 -0300
commit3f5d14f78ea3549148757925898f776d68335090 (patch)
tree8052804627a699393e11322e463f7c85e97783ce /guides
parentd160ca40141e5d9a48578cbd88428fc233c5ae9a (diff)
parent535bd1a203ecbb7bedec4dedea284355551b7537 (diff)
downloadrails-3f5d14f78ea3549148757925898f776d68335090.tar.gz
rails-3f5d14f78ea3549148757925898f776d68335090.tar.bz2
rails-3f5d14f78ea3549148757925898f776d68335090.zip
Merge pull request #14890 from fuzzyalej/patch-1
Added a missing `end`
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_instrumentation.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md
index 6c77a40d42..121cdc0199 100644
--- a/guides/source/active_support_instrumentation.md
+++ b/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