simple_contact 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/simple_contact/contact/new.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/lib/simple_contact/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e4d0efd640a7cbd5a28c832caba67063d94e436
|
4
|
+
data.tar.gz: 5de4ac48be64cbdd98184c8a89afba0c57bdc8ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21035ed07e47ee1eeb575ed6b6d7eb10ef826fcff4d2786218f91b4bcb413ad125cfc3bb0e92403771936a9bdf53f8bf4b06a3404f26c024ef7aff493d3c279a
|
7
|
+
data.tar.gz: 41294122fc4a52afde0670a4c42eda941f87894db7a3069e3b7d5db35e8b2ec200090abc17ccc1c37674669fe9b7ada47870a5105b261e18413a29b779e25b45
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<div class="row">
|
10
10
|
<%# Reduces the total width of the form & centers %>
|
11
11
|
<div class="col-sm-8 col-sm-offset-2">
|
12
|
-
<%= form_for @message, url: simple_contact.
|
12
|
+
<%= form_for @message, url: simple_contact.create_contact_path, html: {class: "form-horizontal" } do |f| %>
|
13
13
|
|
14
14
|
<div class="form-inputs">
|
15
15
|
|
data/config/routes.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
SimpleContact::Engine.routes.draw do
|
2
2
|
# Routes are simple. All routes will point to the root_url, which will be where you mount the engine.
|
3
3
|
get "/", to: 'contact#new', as: :contact
|
4
|
-
post "/", to: 'contact#create', as: :
|
4
|
+
post "/", to: 'contact#create', as: :create_contact
|
5
5
|
root to: 'contact#new'
|
6
6
|
end
|