This is strange, if i try this

=link_to(image_tag("btn_login.gif",:border=>0, :width=>"81", :height=>"14"),
root_path)
%h1
        =link_to("the site",root_path, :class=>"logo")
= render :partial, "shared/fnav"


i get


undefined method `model_name' for Symbol:Class


if i remove the links it works, and if i lieve the links and remove
the render it works , it also works if i replace the render with the
actual html (haml code). Can some one tell me what i am doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@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