Sha256: 05a54e808c986e6d909c5a85d6e3eb65b87c4073d41bfeeec754695d6c396f09

Contents?: true

Size: 334 Bytes

Versions: 9

Compression:

Stored size: 334 Bytes

Contents

module Form
  module Static
    module Email
      extend ActiveSupport::Concern

      def subject
        I18n.t('cms.form.email.default_subject')
      end

      def send_from
        try(:email)
      end

      def send_to
        Setting[:cms_mail_bcc]
      end

      def with_email?
        true
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 app/models/form/static/email.rb
rails_admin_cms-0.0.9 app/models/form/static/email.rb
rails_admin_cms-0.0.7 app/models/form/static/email.rb
rails_admin_cms-0.0.6 app/models/form/static/email.rb
rails_admin_cms-0.0.5 app/models/form/static/email.rb
rails_admin_cms-0.0.4 app/models/form/static/email.rb
rails_admin_cms-0.0.3 app/models/form/static/email.rb
rails_admin_cms-0.0.2 app/models/form/static/email.rb
rails_admin_cms-0.0.1 app/models/form/static/email.rb