Skip to content

Commit

Permalink
Fix typo in layout and rendering guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Gunderloy authored and Mike Gunderloy committed Dec 27, 2008
1 parent 6d0639c commit 930b206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/doc/guides/source/layouts_and_rendering.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ==

Expand Down

0 comments on commit 930b206

Please sign in to comment.