You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also having this problem, using a stock Toto install.
After doing some more tests, I managed to get things working by running <%= rende :partial => 'sidebar', :html %> - but the problem is, my partial has to be under pages/, and it renders out the entire thing(layout and all). I'm pretty new to Ruby, so I'm not sure what I've done wrong here.
I would love to use partials within haml. However, when I try to render a partial, the to_html method fails. What do I need to add to the render call?
=render :partial=> "sidebar"
give's me an ArgumentError, wrong number of arguments (1 for 2)
/Library/Ruby/Gems/1.8/gems/toto-0.4.1/lib/toto.rb: in to_html
29.
35.
The text was updated successfully, but these errors were encountered: