Sha256: b025e08b5c8d746ba31f0a4fcf34ae8fce917d1d823448aa6bbb0e5fbf40e49e
Contents?: true
Size: 383 Bytes
Versions: 20
Compression:
Stored size: 383 Bytes
Contents
class Admix::UsersDatagrid include Datagrid scope do User.desc(:email) end filter :email, :string filter :last_sign_in_at, :date column :email, header: I18n.t('users.fields.email') column :last_sign_in_at, header: I18n.t('users.fields.last_sign_in_at') do |user| user.last_sign_in_at.strftime('%d/%m/%Y as %H:%Mh') end include Admix::TableActions end
Version data entries
20 entries across 20 versions & 2 rubygems