This looks like it would have to do with the Ruby helpers... what's the ERB
code you're using that works?

On Thu, Jun 18, 2009 at 1:54 AM, tobmatth <[email protected]> wrote:

>
> Hi list,
>
> i'm using a content_for block to generate a submenu in one of my
> templates:
>
> - content_for :subnavigation do
>  %ul
>    %li= link_to_unless_current('All Users', users_path)
>    %li.active=  link_to_unless_current('New user', new_user_path)
>
> The anchor tags gets rendered as expected, but the path doesn't:
>
>  <div id='subnavigation'>
>   <ul>
>     <li class='active'><a href="users_path">All users</a></li>
>     <li><a href="new_user_path">New user</a></li>
>  </ul>
> </div>
>
> Any advices on this? It works when using plain erb, btw...
>
> >
>

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