Sha256: c5213cf96e49b07295b60bef55074ddd015938affd7dd1cda2c7b1f2eee9b131

Contents?: true

Size: 995 Bytes

Versions: 2

Compression:

Stored size: 995 Bytes

Contents

# Use this hook to configure contact mailer.
ContactUs.setup do |config|

  # ==> Mailer Configuration

  # Configure the e-mail address which email notifications should be sent from.  If emails must be sent from a verified email address you may set it here.
  # Example:
  # config.mailer_from = "contact@please-change-me.com"
  config.mailer_from = nil

  # Configure the e-mail address which should receive the contact form email notifications.
  config.mailer_to = "contact@please-change-me.com"

  # ==> Form Configuration

  # Configure the form to ask for the users name.
  config.require_name = false

  # Configure the form to ask for a subject.
  config.require_subject = false

  # Configure the form gem to use.
  # Example:
  # config.form_gem = 'formtastic'
  config.form_gem = nil

  # Configure the redirect URL after a successful submission
  config.success_redirect = '/'

  # Configure the parent action mailer
  # Example:
  # config.parent_mailer = "ActionMailer::Base"

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
contact_us-1.2.0 lib/templates/contact_us.rb
contact_us-1.1.0 lib/templates/contact_us.rb