moved into proper folder location
This commit is contained in:
parent
83d4368af7
commit
f2686288b7
@ -1,2 +1,8 @@
|
||||
module FavoritesHelper
|
||||
def sortable(title, column)
|
||||
title ||= column.titelize
|
||||
puts title
|
||||
direction = column == sort_column && sort_direction == 'asc' ? 'desc' : 'asc'
|
||||
link_to title, :sort => column, :direction => direction
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user