Hi folks
Is there any way to change / restrict the application layout for certain
views?
For example, I don't want to render the header for a certain view, is
there any code such as:
<% if View != show.html.erb%>
<%= render 'layouts/header' %>
<% end %>
Thanks in advance
Jason
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7eb3dbd5e7e4800c8fa041ad40b376c4%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment