Displaying 1 result from an estimated 1 matches for "_application".
Did you mean:
application
2010 Oct 27
0
"Missing partial layouts/application" error on render :partial => "index", :layout => "application" - Rails3
...ding that the layout be a partial. I did try changing the
application layout to a partial, and then in this case the page loads
without the above error. But on normal non-partial renders, then of course I
loose the application template. Makes no sense to have both
application.html.erb and a partial _application.html.erb but this seems to
be the only way I have found to hack around this error. Is there a new
syntax I should be using instead?
respond_to do |format|
format.html { render :partial => "index", :layout => "application" }
end
Thanks much,
David
--
You...