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