On Oct 7, 1:27 pm, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> Does it work if you move the content_for call out of the helper and into
> the Haml template?

Yup, a content_for with a block works fine if it's in the template.
Also if I use content_for(:sidebar, render(:partial => 'foo')) in the
helper (instead of passing a block) it works.

BTW, sorry for the multiple copies of the original post. I have no
idea how that happened. I clicked send only once, I swear!

- Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to