diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-12-26 21:20:13 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-01-17 16:31:08 +0200 |
commit | 264f4a6b1456d8ab66bd444a1f8d96ebd44d17f3 (patch) | |
tree | 4bd562bc69a5ce565ac9ff2506a46ee4cc44962b /guides/source | |
parent | 6fb3ac1536d60bc12cf531e83e4060fe1fdf3d87 (diff) | |
download | rails-264f4a6b1456d8ab66bd444a1f8d96ebd44d17f3.tar.gz rails-264f4a6b1456d8ab66bd444a1f8d96ebd44d17f3.tar.bz2 rails-264f4a6b1456d8ab66bd444a1f8d96ebd44d17f3.zip |
Update "Layouts and Rendering in Rails" guide [ci skip]
- Remove mention about `ActionView::TemplateHandlers` since this
module was removed by c1304098cca8a9247a9ad1461a1a343354650843.
Change word `subclasses` to `nested classes`.
See c7408a0e40545558872efb4129fe4bf097c9ce2f
- Remove useless sentence "Beginning with Rails 2, the standard extensions
are `.erb` for ERB (HTML with embedded Ruby), and `.builder` for Builder (XML generator)."
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/layouts_and_rendering.md | 2 |
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` |