I've got a tabbed menu. It currently looks like this in Haml:
%ul#menu %li= link_to_unless_current "...", :controller => "..." %li= link_to_unless_current "...", :controller => "..." %li= link_to_unless_current "...", :controller => "..." %li= link_to_unless_current "...", :controller => "..."
I would like one of the <li> elements to get an id or class of "current" or "selected" or something when it is the current tab.
How can I do that?
Thanks.