mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix a small typo
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user