programandoarg/pg_rails

View on GitHub
pg_engine/app/admin/emails.rb

Summary

Maintainability
A
0 mins
Test Coverage
ActiveAdmin.register Email do
  actions :index, :show
  index do
    selectable_column
    id_column
    column :from_address
    column :to
    column :subject
    column :body_input
    column :tags
    column :associated
    column :status
    actions
  end

  filter :from_address
  filter :to
  filter :tags
  filter :message_id
  filter :mailer
  filter :status
end