Sha256: 23f9a6bc3abc303edd1cadb67b70f2cf3026a1643fb5415b4564c06f95f95c28

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

require "contact/engine"

module Contact
  mattr_accessor :to_email, :subject, :success_message, :base_controller, :contact_page_path
  @@to_email = "to@example.com"
  @@subject = "New Contact Form Submission"
  @@success_message = "Success! Your message has been sent and we'll get back to you as soon as possible."
  @@base_controller = "::ApplicationController"
  @@contact_page_path = "contact"

  def self.configure(&block)
    yield self
  end

  def self.base_controller
    @@base_controller.constantize
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flyover-contact-1.1.5 lib/flyover-contact.rb