aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2018-01-17 09:37:40 -0500
committerGitHub <noreply@github.com>2018-01-17 09:37:40 -0500
commitffd9902b4464719bd92d49db709d1cf8865337e3 (patch)
tree4bd562bc69a5ce565ac9ff2506a46ee4cc44962b /guides/source
parent6fb3ac1536d60bc12cf531e83e4060fe1fdf3d87 (diff)
parent264f4a6b1456d8ab66bd444a1f8d96ebd44d17f3 (diff)
downloadrails-ffd9902b4464719bd92d49db709d1cf8865337e3.tar.gz
rails-ffd9902b4464719bd92d49db709d1cf8865337e3.tar.bz2
rails-ffd9902b4464719bd92d49db709d1cf8865337e3.zip
Merge pull request #31726 from bogdanvlviv/update-layouts_and_rendering-guide
Update "Layouts and Rendering in Rails" guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/layouts_and_rendering.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/layouts_and_rendering.md b/guides/source/layouts_and_rendering.md
index 4d79b2db89..15345c94b7 100644
--- a/guides/source/layouts_and_rendering.md
+++ b/guides/source/layouts_and_rendering.md
@@ -97,7 +97,7 @@ If we want to display the properties of all the books in our view, we can do so
<%= link_to "New book", new_book_path %>
```
-NOTE: The actual rendering is done by subclasses of `ActionView::TemplateHandlers`. This guide does not dig into that process, but it's important to know that the file extension on your view controls the choice of template handler. Beginning with Rails 2, the standard extensions are `.erb` for ERB (HTML with embedded Ruby), and `.builder` for Builder (XML generator).
+NOTE: The actual rendering is done by nested classes of the module [`ActionView::Template::Handlers`](http://api.rubyonrails.org/classes/ActionView/Template/Handlers.html). This guide does not dig into that process, but it's important to know that the file extension on your view controls the choice of template handler.
### Using `render`