Sha256: 120a5016853c0afa4504e8efb71b67a21664f56b3ba39d56a780c7b114640822
Contents?: true
Size: 540 Bytes
Versions: 8
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true module C class Location < ApplicationRecord include SitePage include Imageable include Previewable include Orderable validates :name, presence: true INDEX_TABLE = { "Name": { link: { name: { call: 'name' }, options: '[:edit, object]' }, sort: 'name' }, "Published": { call: 'published', sort: 'published' }, "Created": { call: 'created_at', sort: 'published' }, "Edit": { link: { name: { text: 'edit' }, options: '[:edit, object]' } } }.freeze end end
Version data entries
8 entries across 8 versions & 1 rubygems