aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/lines_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/lines_helper.rb')
-rw-r--r--app/helpers/lines_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/lines_helper.rb b/app/helpers/lines_helper.rb
index 45bd8c6c3..a03868a0a 100644
--- a/app/helpers/lines_helper.rb
+++ b/app/helpers/lines_helper.rb
@@ -1,8 +1,2 @@
module LinesHelper
- def order(column)
- title ||= Chouette::Line.human_attribute_name(column).titleize
- css_class = (column == sort_column) ? "current #{sort_direction}" : nil
- direction = (column == sort_column && sort_direction == "asc") ? "desc" : "asc"
- link_to title, { :sort => column, :direction => direction}, {:class => css_class}
- end
end