This is fixed in stable, and will be released as 2.0.6 very soon. Stefano Cobianchi wrote: > On Dec 16, 9:33 pm, Stefano Cobianchi <[email protected]> > wrote: > > >> So it looks like it's just the block version of content_for that's >> broken. >> > > Or maybe not... this works: > > - content_for(:sidebar) do > = render(:partial => "sidebar") > > but not this: > > [application_helper.rb] > def sidebar > content_for(:sidebar) { render :partial => "sidebar" } > end > > [app/views/frontpage/tv.html.haml] > - sidebar > > S. > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
