contact 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/app/mailers/mailer.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Contact
|
|
2
2
|
require 'contact/engine' if defined?(Rails)
|
|
3
3
|
|
|
4
|
-
class Mailer < ActionMailer::Base
|
|
4
|
+
class Contact::Mailer < ActionMailer::Base
|
|
5
5
|
default :to => CONTACT['default_recipients']
|
|
6
6
|
|
|
7
7
|
# We have a contact form. That form is filled out by the customer. When they click 'send', this email is sent.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
%pre= @form.body
|
|
File without changes
|
data/contact-0.0.9.gem
ADDED
|
Binary file
|
data/lib/contact/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contact
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 11
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 10
|
|
10
|
+
version: 0.0.10
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jason Younker
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-04-
|
|
18
|
+
date: 2011-04-17 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -68,9 +68,9 @@ files:
|
|
|
68
68
|
- app/mailers/mailer.rb
|
|
69
69
|
- app/models/contact/form.rb
|
|
70
70
|
- app/views/contact/contacts/new.haml
|
|
71
|
+
- app/views/contact/mailer/contact_us.html.haml
|
|
72
|
+
- app/views/contact/mailer/contact_us.text.haml
|
|
71
73
|
- app/views/layouts/application.html.erb
|
|
72
|
-
- app/views/mailer/contact_us.html.haml
|
|
73
|
-
- app/views/mailer/contact_us.text.haml
|
|
74
74
|
- autotest/discover.rb
|
|
75
75
|
- config.ru
|
|
76
76
|
- config/application.rb
|
|
@@ -93,6 +93,7 @@ files:
|
|
|
93
93
|
- contact-0.0.6.gem
|
|
94
94
|
- contact-0.0.7.gem
|
|
95
95
|
- contact-0.0.8.gem
|
|
96
|
+
- contact-0.0.9.gem
|
|
96
97
|
- contact.gemspec
|
|
97
98
|
- db/seeds.rb
|
|
98
99
|
- doc/README_FOR_APP
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
= @form.body
|