Everything is working fine with haml but I am having some troubles
with :render

my views/layouts/application.html.haml file has below lines

    %body
        .container
            =render "layouts/header"
            %h3 #{title}
            =yield


where I want to render layouts/header.html.haml file at the top of the
page.

It produces following error

Missing partial layouts/header with
{:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :haml], 
:formats=>[:html].......

at line where it says =render "layouts/header"

Am I missing something?

-- 
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