refinerycms-applicants 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/app/controllers/applicants_controller.rb +1 -1
- data/lib/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: 208cf7334654711a5739d5a39eefccc6b6fa6c7e
|
4
|
+
data.tar.gz: 6c78f9b0842b7fb572cd3c64d0e9bd382c26c1df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9827e56a47c195e57fd35bf07d4935b9ae41a27a0695368ce549a323cd827be90b2d31424527c470bdc75df8db50ddab2fcd554d70b089e3df066199fefb0b2
|
7
|
+
data.tar.gz: 3578724835e1986d604fa39d519c2ff82660e2b29bf0f9fffd1b2dc42d1126714d45fcee1083802eb0c3bff8d2bf0f2b31f6ae5fd37f15994c22d889e74cad0b
|
data/README.md
CHANGED
@@ -32,6 +32,5 @@ Then run the following commands to install the Gem and migrate your database:
|
|
32
32
|
rake db:migrate
|
33
33
|
|
34
34
|
If you wish to enable email notifications, log into the Refinery admin and edit
|
35
|
-
the applicant_recipients setting
|
36
|
-
|
37
|
-
['myemail@example.com']
|
35
|
+
the applicant_recipients setting. It should be the email address of the
|
36
|
+
recipient, or can be a comma-delimited list of addresses.
|
@@ -14,7 +14,7 @@ class ApplicantsController < ApplicationController
|
|
14
14
|
def create
|
15
15
|
@applicant = Applicant.new(params[:applicant])
|
16
16
|
if @applicant.save
|
17
|
-
if RefinerySetting.find_or_set(:applicant_recipients,
|
17
|
+
if RefinerySetting.find_or_set(:applicant_recipients, '').present?
|
18
18
|
ApplicantMailer.notification(@applicant, request).deliver
|
19
19
|
end
|
20
20
|
redirect_to thank_you_applicants_url
|
data/lib/version.rb
CHANGED