diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-30 18:33:53 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-09-30 18:42:46 +0900 |
commit | 5349f231089ddb884c7cb5405e74b7871383d65d (patch) | |
tree | e2d97c7d0b2693979d4bc477b584c475b6c30305 /actionpack/lib/action_controller/metal | |
parent | 285f9a89d5d9448461bfc7f19a45815e426c522e (diff) | |
download | rails-5349f231089ddb884c7cb5405e74b7871383d65d.tar.gz rails-5349f231089ddb884c7cb5405e74b7871383d65d.tar.bz2 rails-5349f231089ddb884c7cb5405e74b7871383d65d.zip |
Remove `:api:` tag that has leaked on the doc directly [ci skip]
Currently `:api:` tag has leaked on the doc directly since RDoc doesn't
support `:api:` tag directive.
http://api.rubyonrails.org/v5.1/classes/AbstractController/Rendering.html
So `:api: private` doesn't work as expected. We are using `:nodoc:` for
the purpose.
Related #13989.
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r-- | actionpack/lib/action_controller/metal/instrumentation.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/instrumentation.rb b/actionpack/lib/action_controller/metal/instrumentation.rb index 476f0843b2..5ef83af07a 100644 --- a/actionpack/lib/action_controller/metal/instrumentation.rb +++ b/actionpack/lib/action_controller/metal/instrumentation.rb @@ -83,15 +83,12 @@ module ActionController # def cleanup_view_runtime # super - time_taken_in_something_expensive # end - # - # :api: plugin def cleanup_view_runtime yield end # Every time after an action is processed, this method is invoked # with the payload, so you can add more information. - # :api: plugin def append_info_to_payload(payload) payload[:view_runtime] = view_runtime end @@ -100,7 +97,6 @@ module ActionController # A hook which allows other frameworks to log what happened during # controller process action. This method should return an array # with the messages to be added. - # :api: plugin def log_process_action(payload) #:nodoc: messages, view_runtime = [], payload[:view_runtime] messages << ("Views: %.1fms" % view_runtime.to_f) if view_runtime |