aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-10-20 05:34:47 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-10-20 05:47:34 +0900
commita52ff1b0848e8bb2310738ec7b762b82edbbfcb2 (patch)
tree1166e8b92076be141e130e8cad73cdc2c3762337 /actionpack/lib/abstract_controller
parentfce2494c8643ffab38ccbf0294eb90af85d16027 (diff)
downloadrails-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/abstract_controller')
-rw-r--r--actionpack/lib/abstract_controller/rendering.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb
index 7e156586b9..fe1cd4a5a5 100644
--- a/actionpack/lib/abstract_controller/rendering.rb
+++ b/actionpack/lib/abstract_controller/rendering.rb
@@ -75,7 +75,7 @@ module AbstractController
# Normalize args by converting <tt>render "foo"</tt> to
# <tt>render :action => "foo"</tt> and <tt>render "foo/bar"</tt> to
# <tt>render :file => "foo/bar"</tt>.
- def _normalize_args(action = nil, options = {})
+ def _normalize_args(action = nil, options = {}) # :doc:
if action.respond_to?(:permitted?)
if action.permitted?
action
@@ -90,12 +90,12 @@ module AbstractController
end
# Normalize options.
- def _normalize_options(options)
+ def _normalize_options(options) # :doc:
options
end
# Process extra options.
- def _process_options(options)
+ def _process_options(options) # :doc:
options
end