Permalink
Browse files

Fix a small typo

  • Loading branch information...
1 parent 1ff3ae3 commit f7bdfe8bb76f7830cc2946cf0fcda2bb6d5e3e78 @lifo lifo committed Mar 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
View
2 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.

0 comments on commit f7bdfe8

Please sign in to comment.