I created the following for my TableHelper which will allow all 37 models to use the same thing:
def sort_column(title, direction) (direction == "asc" ? image = "up.gif" : image = "down.gif") (link_to image_tag(image, :border=>0), :controller => controller.controller_name, :numteams => (@showall ? 120 : nil), :orderby => title, :sortby => direction) if !...@searchteams end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

