Sha256: 978670dab07b9eac44870799a0d347fbd66fd2dba17b928c10cf60feda48a0a0
Contents?: true
Size: 487 Bytes
Versions: 11
Compression:
Stored size: 487 Bytes
Contents
module CustomizeAdmin module ApplicationHelper def sortable( column, title = nil ) title ||= column.titleize column = column.to_s.downcase direction = ( column == sort_column && sort_direction == "asc" ) ? "desc" : "asc" link_to title, { :sort => column, :direction => direction } end def test string_filter.each do |n| end end def attributes resource_class.attribute_names - %w(created_at updated_at) end end end
Version data entries
11 entries across 11 versions & 1 rubygems