i am trying to get the usual yielding of the page title done with the
current rails3 master and the latest haml.
unfortunately it seems to not work anymore.

this works in rails2 but not in rails3:

    %title
      = h(yield(:title) || "Untitled")

and in the view

- title 'Home'

this would produce this error in rails3:
undefined method `title' for #<Class>

anyone has a clue what is going on?

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to h...@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to