提交 8a950a50 编写于 作者: C claudiob

Fix "Rendering" not to link to AV::Rendering

The "Rendering" word in the titles is not meant to be a link to
the documentation for ActionView::Rendering.

[ci skip]
上级 a5644d14
......@@ -73,7 +73,7 @@ def iterate! # :nodoc:
#
# <%= render partial: "account", locals: { user: @buyer } %>
#
# == Rendering a collection of partials
# == \Rendering a collection of partials
#
# The example of partial use describes a familiar pattern where a template needs to iterate over an array and
# render a sub template for each of the elements. This pattern has been implemented as a single method that
......@@ -105,7 +105,7 @@ def iterate! # :nodoc:
# NOTE: Due to backwards compatibility concerns, the collection can't be one of hashes. Normally you'd also
# just keep domain objects, like Active Records, in there.
#
# == Rendering shared partials
# == \Rendering shared partials
#
# Two controllers can share a set of partials and render them like this:
#
......@@ -113,7 +113,7 @@ def iterate! # :nodoc:
#
# This will render the partial "advertisement/_ad.html.erb" regardless of which controller this is being called from.
#
# == Rendering objects that respond to `to_partial_path`
# == \Rendering objects that respond to `to_partial_path`
#
# Instead of explicitly naming the location of a partial, you can also let PartialRenderer do the work
# and pick the proper path by checking `to_partial_path` method.
......@@ -127,7 +127,7 @@ def iterate! # :nodoc:
# # <%= render partial: "posts/post", collection: @posts %>
# <%= render partial: @posts %>
#
# == Rendering the default case
# == \Rendering the default case
#
# If you're not going to be using any of the options like collections or layouts, you can also use the short-hand
# defaults of render to render partials. Examples:
......@@ -147,7 +147,7 @@ def iterate! # :nodoc:
# # <%= render partial: "posts/post", collection: @posts %>
# <%= render @posts %>
#
# == Rendering partials with layouts
# == \Rendering partials with layouts
#
# Partials can have their own layouts applied to them. These layouts are different than the ones that are
# specified globally for the entire action, but they work in a similar fashion. Imagine a list with two types
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册