Sha256: 2d7a1f41b516ef20f7d8ea4e94a7c3b8e6c0d2e200e4ce84f40b33d7d575c8a6
Contents?: true
Size: 572 Bytes
Versions: 2
Compression:
Stored size: 572 Bytes
Contents
unless Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0') class EffectiveEmailTemplatesDatatable < Effective::Datatable datatable do order :subject, :asc col :id, visible: false col :slug col :subject col :from col :cc, visible: false, label: 'CC' col :bcc, visible: false, label: 'BCC' col :body, visible: false actions_col :actions, partial: '/admin/email_templates/actions', partial_as: 'email_template' end collection do Effective::EmailTemplate.all end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_email_templates-0.4.2 | app/datatables/effective_email_templates_datatable.rb |
effective_email_templates-0.4.1 | app/datatables/effective_email_templates_datatable.rb |