Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in layout and rendering guide

  • Loading branch information...
commit 930b20678e7dca80c97aadd6b756857cc5b8941d 1 parent 6d0639c
Mike Gunderloy ffmike authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/doc/guides/source/layouts_and_rendering.txt
2  railties/doc/guides/source/layouts_and_rendering.txt
View
@@ -1022,7 +1022,7 @@ NOTE: In versions of Rails before Rails 2.3, you should use +render \'layouts/ap
That's it. The News views will use the new layout, hiding the top menu and adding a new right menu inside the "content" div.
-There are several ways of getting similar results with differents sub-templating schemes using this technique. Note that there is no limit in nesting levels. One can use the +ActionView::render+ method via "+render \'layouts/news\'+" to base a new layout on the News layout.
+There are several ways of getting similar results with differents sub-templating schemes using this technique. Note that there is no limit in nesting levels. One can use the +ActionView::render+ method via +render \'layouts/news\'+ to base a new layout on the News layout.
== Changelog ==
Please sign in to comment.
Something went wrong with that request. Please try again.