diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-12-27 09:07:55 -0600 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2008-12-27 09:07:55 -0600 |
commit | 930b20678e7dca80c97aadd6b756857cc5b8941d (patch) | |
tree | 348b2f53ca2b2784dff5c795944fe6da1915f398 /railties | |
parent | 6d0639c95e5385d65005f58ea37f337455753ea9 (diff) | |
download | rails-930b20678e7dca80c97aadd6b756857cc5b8941d.tar.gz rails-930b20678e7dca80c97aadd6b756857cc5b8941d.tar.bz2 rails-930b20678e7dca80c97aadd6b756857cc5b8941d.zip |
Fix typo in layout and rendering guide
Diffstat (limited to 'railties')
-rw-r--r-- | railties/doc/guides/source/layouts_and_rendering.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/layouts_and_rendering.txt b/railties/doc/guides/source/layouts_and_rendering.txt index 6811849882..5834307d7b 100644 --- a/railties/doc/guides/source/layouts_and_rendering.txt +++ b/railties/doc/guides/source/layouts_and_rendering.txt @@ -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 == |