Sha256: 07a76d850a5d4f8c733800b9c55bbdad6458442cab469961e940d4570e8f0d92

Contents?: true

Size: 278 Bytes

Versions: 9

Compression:

Stored size: 278 Bytes

Contents

class AddCMSMailFromAndBccSettings < ActiveRecord::Migration
  def up
    Setting.apply_all(
      cms_mail_from: 'rails@admin.cms',
      cms_mail_bcc: 'rails@admin.cms',
    )
  end
  def down
    Setting.remove_all(
      :cms_mail_from,
      :cms_mail_bcc,
    )
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.9 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.7 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.6 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.5 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.4 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.3 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.2 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb
rails_admin_cms-0.0.1 db/migrate/20151230072904_add_cms_mail_from_and_bcc_settings.rb