Commit 517f1486c5606ad3251b3627eabb506f996eeacc

Authored by Robert Lail
1 parent ac45b6f6
Exists in master and in 1 other branch production

add css to describe the header which is being used

to sort problems.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/sort_helper.rb
... ... @@ -7,7 +7,7 @@ module SortHelper
7 7 order = (current && (@order == "asc")) ? "desc" : "asc"
8 8 url = request.path + "?sort=#{field}&order=#{order}"
9 9 options = {}
10   - options.merge(:class => "current") if current
  10 + options.merge!(:class => "current #{order}") if current
11 11 link_to(name, url, options)
12 12 end
13 13  
... ...