Sha256: d2517b58c421a9b6283d0640a01da89cc04784258eb0b74d8c5892b7d398395a
Contents?: true
Size: 888 Bytes
Versions: 1
Compression:
Stored size: 888 Bytes
Contents
module ContactUs require 'contact_us/engine' # Address ContactUs email notifications are sent from. mattr_accessor :mailer_from # Address to send ContactUs email notifications to. mattr_accessor :mailer_to # Enable or Disable name field. mattr_accessor :require_name # Enable or Disable subject field. mattr_accessor :require_subject # Formtastic or SimpleForm mattr_accessor :form_gem # URL after a successful submission mattr_accessor :success_redirect # Configure parent mailer mattr_accessor :parent_mailer @@parent_mailer = "ActionMailer::Base" # allows for a locale to appear in the path # (e.g. /fr/contact-us OR /en/contact-us) mattr_accessor :localize_routes # Default way to setup ContactUs. Run rake contact_us:install to create # a fresh initializer with all configuration values. def self.setup yield self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contact_us-1.2.0 | lib/contact_us.rb |