Sha256: c6c78babcd52e603b4241f875e1f1fb03830e8045ccf874c9159864b0e35b5db
Contents?: true
Size: 301 Bytes
Versions: 142
Compression:
Stored size: 301 Bytes
Contents
module Spree module Admin module TablesHelper # Adds class 'active' to <th> & <td> tags # for better tables styling def sort_by_active_class(row) if params[:q][:s] && params[:q][:s].include?(row) return "sort-active" end end end end end
Version data entries
142 entries across 142 versions & 4 rubygems