Sha256: 876326b3a3b692583947e54b057f2f6a37477b6e21891c57808c6a41a978155b
Contents?: true
Size: 408 Bytes
Versions: 7
Compression:
Stored size: 408 Bytes
Contents
require_relative "base" module Administrate module Page class Table < Page::Base def attribute_names dashboard.table_attributes end def attributes_for(resource) attribute_names.map do |attr_name| attribute_field(dashboard, resource, attr_name, :index) end end def to_partial_path "/dashboard/table" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems