2009/9/8 Dudebot <[email protected]>: > > Hi Gurus, how do I include a partial in my main layout? > > In views/layouts/application.html.erb I have > > <code> > ... > <%= render :partial => 'navbar_tabs' %> > ... > </code> > No matter where I put _navbar_tabs.html.erb (or renamed it to > _navbar_tabs.erb in desperation) I get the error > > > Showing app/views/layouts/application.html.erb where line #20 raised: > > Missing template messages/_navbar_tabs.erb in view path app/views >
What happens if you name it _navbar_tabs.html.erb and put in in views/messages? Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

