Hi I was wondering how to use content_for method to pass block with js to layout, but I can't. All I got is "no block given" error
my code is: (in layouts.dryml) <%= yield :js %> (in view, exp: edit.dryml) <% content_for :js do %> <%= javascript_include_tag :defaults %> <% end %> when I try to do it without dryml (erb) then it works Is there any chance to get it works for dryml? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
