spree_mini_contact 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/mailer/contact_mailer.rb +5 -4
- metadata +3 -3
@@ -1,10 +1,11 @@
|
|
1
1
|
class ContactMailer < ActionMailer::Base
|
2
|
-
helper "spree/base"
|
3
2
|
|
4
3
|
def message_email(message)
|
5
|
-
|
6
|
-
|
4
|
+
opts = {}
|
5
|
+
opts[:to] = message.email
|
6
|
+
opts[:subject] = "#{t('message_from')} #{Spree::Config[:site_name]}"
|
7
7
|
@message = message
|
8
|
-
mail(
|
8
|
+
mail(opts)
|
9
9
|
end
|
10
|
+
|
10
11
|
end
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ 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: &15666560 !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: *15666560
|
25
25
|
description: ! ' Basically the easiest way to implement a contact form.
|
26
26
|
|
27
27
|
'
|