Is there any way to make the plugin attach a class to its link? (mainly sort direction). This is rather ugly, looking for the purist way... <th><%= link_to ''Name'', sort_param(''search'', Directory, ''name''), { :class => sort_param('''', Directory, ''name'' ).to_s.sub(/^(.+)-.+/, ''\1'') } %></th> yields: <th><a href="..." class="sortdesc">...</a></th> -- Anthony Ettinger 408-656-2473 http://anthony.ettinger.name --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---