configuration for production

This commit is contained in:
2015-01-03 10:52:34 +01:00
parent 52ec22646b
commit 3799e5f842
7 changed files with 20 additions and 16 deletions

View File

@@ -4,11 +4,11 @@ Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = "test@example.com"
config.mailer_sender = "no-reply@fet.at"
# Configure the class responsible to send e-mails.
config.mailer = "Devise::Mailer"
config.mailer.default_url_options = { :host => 'glonass.htu.tuwien.ac.at' }
config.mailer.default_url_options = { :host => 'www.fet.at' }
config.mailer.delivery_method = :sendmail
# config.mailer.smtp_settings = {
# :address => "smtp.gmail.com",