Sha256: c8ac8828c98d6d07fd5d5a93a6c3e3585d7ecefb768054d2cb72737a4cafc8ab

Contents?: true

Size: 895 Bytes

Versions: 7

Compression:

Stored size: 895 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 = '/'

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
contact_us-1.0.1 lib/templates/contact_us.rb
contact_us-1.0.0 lib/templates/contact_us.rb
contact_us-0.5.4 lib/templates/contact_us.rb
contact_us-0.5.3 lib/templates/contact_us.rb
contact_us-0.5.2 lib/templates/contact_us.rb
contact_us-0.5.1 lib/templates/contact_us.rb
contact_us-0.5.0 lib/templates/contact_us.rb