@@ -57,5 +57,4 @@ production: |
||
57 | 57 |
database: rails_website_template_production |
58 | 58 |
pool: 5 |
59 | 59 |
username: rails_website_template |
60 |
- password: |
|
61 |
- schema_search_path: store, public |
|
60 |
+ password: |
@@ -10,7 +10,7 @@ Devise.setup do |config| |
||
10 | 10 |
# Configure the e-mail address which will be shown in Devise::Mailer, |
11 | 11 |
# note that it will be overwritten if you use your own mailer class |
12 | 12 |
# with default "from" parameter. |
13 |
- config.mailer_sender = Info.first.server_email != nil ? Info.first.server_email : 'no-reply@website.com' |
|
13 |
+ config.mailer_sender = ENV['SERVER_EMAIL'] |
|
14 | 14 |
|
15 | 15 |
# Configure the class responsible to send e-mails. |
16 | 16 |
# config.mailer = 'Devise::Mailer' |