contact 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,16 @@
1
- class Mailer < ActionMailer::Base
2
- default :to => CONTACT['default_recipients']
1
+ module Contact
2
+ require 'contact/engine' if defined?(Rails)
3
3
 
4
- # We have a contact form. That form is filled out by the customer. When they click 'send', this email is sent.
5
- # It is how our customers contact_us()
6
- def contact_us(form)
7
- @form = form
8
- mail :from => form.from,
9
- :subject => "Customer Contact: #{form.subject}"
4
+ class Mailer < ActionMailer::Base
5
+ default :to => CONTACT['default_recipients']
6
+
7
+ # We have a contact form. That form is filled out by the customer. When they click 'send', this email is sent.
8
+ # It is how our customers contact_us()
9
+ def contact_us(form)
10
+ @form = form
11
+ mail :from => form.from,
12
+ :subject => "Customer Contact: #{form.subject}"
13
+ end
10
14
  end
11
- end
15
+
16
+ end
data/contact-0.0.8.gem ADDED
Binary file
@@ -1,3 +1,3 @@
1
1
  module Contact
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jason Younker
@@ -92,6 +92,7 @@ files:
92
92
  - contact-0.0.5.gem
93
93
  - contact-0.0.6.gem
94
94
  - contact-0.0.7.gem
95
+ - contact-0.0.8.gem
95
96
  - contact.gemspec
96
97
  - db/seeds.rb
97
98
  - doc/README_FOR_APP