Sha256: d7d8e5e9664c52887e30811525e61b306b037b676ae07bc17b3319afcdb0790e
Contents?: true
Size: 684 Bytes
Versions: 2
Compression:
Stored size: 684 Bytes
Contents
if defined?(EffectiveDatatables) module Effective module Datatables class EmailTemplates < Effective::Datatable default_order :subject, :asc table_column :id, visible: false table_column :slug table_column :subject table_column :from table_column :cc, sortable: false, visible: false, label: 'CC' table_column :bcc, sortable: false, visible: false, label: 'BCC' table_column :body, sortable: false, visible: false table_column :actions, sortable: false, partial: '/admin/email_templates/actions' def collection Effective::EmailTemplate.all end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_email_templates-0.3.0 | app/models/effective/datatables/email_templates.rb |
effective_email_templates-0.2.8 | app/models/effective/datatables/email_templates.rb |