Don't do that. Use a helper method to extract this code from the view, or simply use the ruby filter that will execute a whole block of Ruby code. Both solutions will be faster, nicer and less bug-prone.
On 9/21/07, Patrick Aljord <[EMAIL PROTECTED]> wrote: > > > ok, fixed it this way: > > - render_tabnav(:main, :generate_css => true) do > - add_tab do |t| > - t.named 'home' > - t.titled "Go to home" > - t.links_to :controller => 'name' > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
