diff options
author | Alejandro Andrés <alej@redradix.com> | 2014-04-28 17:52:07 +0200 |
---|---|---|
committer | Alejandro Andrés <alej@redradix.com> | 2014-04-28 17:52:07 +0200 |
commit | 535bd1a203ecbb7bedec4dedea284355551b7537 (patch) | |
tree | 8052804627a699393e11322e463f7c85e97783ce /guides | |
parent | d160ca40141e5d9a48578cbd88428fc233c5ae9a (diff) | |
download | rails-535bd1a203ecbb7bedec4dedea284355551b7537.tar.gz rails-535bd1a203ecbb7bedec4dedea284355551b7537.tar.bz2 rails-535bd1a203ecbb7bedec4dedea284355551b7537.zip |
Added a missing `end`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_support_instrumentation.md | 1 |
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 |