Sha256: fffdaf0b595d5a2b727673cc755aa734248a3ce1bfd5683f658221e92728ab96
Contents?: true
Size: 505 Bytes
Versions: 11
Compression:
Stored size: 505 Bytes
Contents
class EffectivePagesDatatable < Effective::Datatable datatable do order :title, :asc length :all col :id, visible: false col :updated_at, visible: false col :title col :slug do |page| link_to(page.slug, effective_pages.page_path(page), target: '_blank') end col :draft col :layout, visible: false col :tempate, visible: false actions_col partial: 'admin/pages/actions', partial_as: :page end collection do Effective::Page.all end end
Version data entries
11 entries across 11 versions & 1 rubygems