That should go into your layout (apps/views/layouts). -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Heinz Strunk Sent: Wednesday, October 22, 2008 10:01 AM To: [email protected] Subject: [Rails] Re: 3 different areas, 1 yield?!
One more question arose that Google and the search couldn't answer: One of these div's have the very same entry no matter what page is being loaded therefore I'd need have: <% content_for :footer do %> <%= render :partial => "shared/footer" %> <% end %> in every view and this is not very DRY. Is there any possibility to make it DRY? -- 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 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 -~----------~----~----~----~------~----~------~--~---

