Class: C::User

Inherits:
ApplicationRecord show all
Defined in:
app/models/c/user.rb

Constant Summary collapse

INDEX_TABLE =
{
  'Name': {
    link: {
      name: {
        call: 'name'
      },
      options: '[:edit, object]'
    },
    sort: 'name'
  },
  'Email': {
    call: 'email', sort: 'email'
  },
  'Last Sign In': {
    call: 'last_sign_in_at'
  },
  'Edit': {
    link: {
      name: {
        text: 'edit'
      }, options: '[:edit, object]'
    }
  }
}.freeze