flyover-contact 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a170fe1bff5fa45a4d76e647476fdc2f420db52
4
- data.tar.gz: a92ef9e1ff23ecbe01d7e49b1500ad5e4f1a65d8
3
+ metadata.gz: b5b05b293665f0472e0f633279cce9030859d170
4
+ data.tar.gz: 7887c886b4a133229f0e3f4a1907574a30b2505b
5
5
  SHA512:
6
- metadata.gz: c159fd6a9294c39d50e9576952edb2dc124e9648e943240fafe3e63fb041d8f349e229717bd1270b77b8a7ba68fdcb5e99fdc782b04ca8256e4c19ecadba8869
7
- data.tar.gz: 78fedd9a8d0bc150d1fdbd1d2c2b5d04b72296bac8bf09b1f3032e278e249be6716b06e8f3b7f77d866e142eabb340d7aecda43765a02b9291d6082b10d05131
6
+ metadata.gz: fd1a15223861ac04555df8ec553dd09804bccc3d539e3dc9db6b2e13c7081efe310d746944bdc5f84c97792ea9e737fb3efb3aa29e1d2228d3de53a18a5bed06
7
+ data.tar.gz: 36fd24acfd826ecf2f6e405ece140b44786bc8c7d3dcc34f1574b0878a48885dddb1809aef3e9a93ff6dd5c1f0740205578ce17084b1be0f9739a1a1f06e3a6a
@@ -1,4 +1,4 @@
1
1
  Contact::Engine.routes.draw do
2
- get :contact, to: 'messages#new', as: :contact
2
+ get "/#{Contact.contact_page_path}", to: 'messages#new', as: :contact
3
3
  post 'messages/create', as: :messages
4
4
  end
@@ -1,3 +1,3 @@
1
1
  module Contact
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
@@ -1,11 +1,12 @@
1
1
  require "contact/engine"
2
2
 
3
3
  module Contact
4
- mattr_accessor :to_email, :subject, :success_message, :base_controller
4
+ mattr_accessor :to_email, :subject, :success_message, :base_controller, :contact_page_path
5
5
  @@to_email = "to@example.com"
6
6
  @@subject = "New Contact Form Submission"
7
7
  @@success_message = "Success! Your message has been sent and we'll get back to you as soon as possible."
8
8
  @@base_controller = "::ApplicationController"
9
+ @@contact_page_path = "contact"
9
10
 
10
11
  def self.configure(&block)
11
12
  yield self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flyover-contact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Van Der Beek