From 517f1486c5606ad3251b3627eabb506f996eeacc Mon Sep 17 00:00:00 2001 From: Robert Lail Date: Tue, 8 Nov 2011 09:40:20 -0600 Subject: [PATCH] add css to describe the header which is being used to sort problems. --- app/helpers/sort_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb index 3ebf0ea..3c85b85 100644 --- a/app/helpers/sort_helper.rb +++ b/app/helpers/sort_helper.rb @@ -7,7 +7,7 @@ module SortHelper order = (current && (@order == "asc")) ? "desc" : "asc" url = request.path + "?sort=#{field}&order=#{order}" options = {} - options.merge(:class => "current") if current + options.merge!(:class => "current #{order}") if current link_to(name, url, options) end -- libgit2 0.21.2