Sha256: fbafe8c209aa61703cd7a84b28f90e59cc06400d2bd92bcff1db5b6f9f21b64a
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
module ActiveScaffold module Helpers module ConfigListHelpers def config_list_sorting? true end def config_list_columns? true end def config_list_columns columns = if config_list_params.is_a?(Array) config_list = config_list_params list_columns.concat active_scaffold_config.list.columns.visible_columns.select { |column| config_list.exclude? column.name } else list_columns end columns.map { |c| [column_heading_label(c), c.name] } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_scaffold_config_list-3.6.0 | lib/active_scaffold/helpers/config_list_helpers.rb |