spree_mini_contact 0.0.2 → 0.0.3
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.
|
@@ -5,6 +5,6 @@ class ContactMailer < ActionMailer::Base
|
|
|
5
5
|
subject = "#{Spree::Config[:site_name]} - #{t('message_from')} #{message.email}"
|
|
6
6
|
|
|
7
7
|
@message = message
|
|
8
|
-
mail(:to => message.email, :subject => subject, :
|
|
8
|
+
mail(:to => message.email, :subject => subject, :bcc => Spree::Config[:contact_form_to])
|
|
9
9
|
end
|
|
10
10
|
end
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
Thank you for your enquiry. Our staff will get back to you shortly. Please see your submission below.
|
|
2
|
+
|
|
1
3
|
<%= t('name') %>: <%= @message.name %>
|
|
2
4
|
<%= t('email') %>: <%= @message.email %>
|
|
3
5
|
<%= t('phone') %>: <%= @message.phone %>
|
|
4
6
|
<%= t('subject') %>: <%= @message.subject %>
|
|
5
|
-
|
|
7
|
+
|
|
8
|
+
<%= @message.message %>
|
|
9
|
+
|
|
10
|
+
Regards,
|
|
11
|
+
<%= Spree::Config[:site_name] %>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_mini_contact
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-11-
|
|
12
|
+
date: 2011-11-05 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: spree_core
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &15045120 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: 0.40.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *15045120
|
|
25
25
|
description: ! ' Basically the easiest way to implement a contact form.
|
|
26
26
|
|
|
27
27
|
'
|
|
@@ -74,6 +74,6 @@ rubyforge_project:
|
|
|
74
74
|
rubygems_version: 1.8.10
|
|
75
75
|
signing_key:
|
|
76
76
|
specification_version: 3
|
|
77
|
-
summary:
|
|
77
|
+
summary: Basically the easiest way to implement a contact form.
|
|
78
78
|
test_files: []
|
|
79
79
|
has_rdoc: true
|