diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-20 05:34:47 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-20 05:47:34 +0900 |
commit | a52ff1b0848e8bb2310738ec7b762b82edbbfcb2 (patch) | |
tree | 1166e8b92076be141e130e8cad73cdc2c3762337 /actionpack/lib/action_controller | |
parent | fce2494c8643ffab38ccbf0294eb90af85d16027 (diff) | |
download | rails-a52ff1b0848e8bb2310738ec7b762b82edbbfcb2.tar.gz rails-a52ff1b0848e8bb2310738ec7b762b82edbbfcb2.tar.bz2 rails-a52ff1b0848e8bb2310738ec7b762b82edbbfcb2.zip |
Keep `:api: plugin` methods in the doc [ci skip]
`:api:` tag was removed in 5349f231 since RDoc doesn't support `:api:`
tag. But those methods are not private API, they are public API for
renderers. The renderers should be able to know that they can override
this method.
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/metal/instrumentation.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/metal/instrumentation.rb b/actionpack/lib/action_controller/metal/instrumentation.rb index 5ef83af07a..be9449629f 100644 --- a/actionpack/lib/action_controller/metal/instrumentation.rb +++ b/actionpack/lib/action_controller/metal/instrumentation.rb @@ -83,13 +83,13 @@ module ActionController # def cleanup_view_runtime # super - time_taken_in_something_expensive # end - def cleanup_view_runtime + def cleanup_view_runtime # :doc: yield end # Every time after an action is processed, this method is invoked # with the payload, so you can add more information. - def append_info_to_payload(payload) + def append_info_to_payload(payload) # :doc: payload[:view_runtime] = view_runtime end |