diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-03-22 11:25:05 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-22 11:25:05 +0000 |
commit | f7bdfe8bb76f7830cc2946cf0fcda2bb6d5e3e78 (patch) | |
tree | d7e521b408a0cb37f216000857a68a30ecfbf301 /railties/guides/source | |
parent | 1ff3ae3ed7eb04268ffc880d1c39ad7957a9a7f7 (diff) | |
download | rails-f7bdfe8bb76f7830cc2946cf0fcda2bb6d5e3e78.tar.gz rails-f7bdfe8bb76f7830cc2946cf0fcda2bb6d5e3e78.tar.bz2 rails-f7bdfe8bb76f7830cc2946cf0fcda2bb6d5e3e78.zip |
Fix a small typo
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index 69faa1b449..809d2b2172 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -959,7 +959,7 @@ On pages generated by +NewsController+, you want to hide the top menu and add a <div id="right_menu">Right menu items here</div> <%= yield(:news_content) or yield %> <% end -%> -<% render :file => 'layouts/application' %> +<%= render :file => 'layouts/application' %> </erb> 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. |