|
|
@@ -1,5 +1,18 @@ |
|
|
|
Apollo::Application.configure do |
|
|
|
# Settings specified here will take precedence over those in config/application.rb |
|
|
|
|
|
|
|
config.action_mailer.default_url_options = { :host => 'tal-apollo-staging.herokuapp.com' } |
|
|
|
|
|
|
|
# SendGrid config for Heroku Cedar stack |
|
|
|
ActionMailer::Base.smtp_settings = { |
|
|
|
:address => 'smtp.sendgrid.net', |
|
|
|
:port => '587', |
|
|
|
:authentication => :plain, |
|
|
|
:user_name => ENV['SENDGRID_USERNAME'], |
|
|
|
:password => ENV['SENDGRID_PASSWORD'], |
|
|
|
:domain => 'heroku.com', |
|
|
|
:enable_starttls_auto => true |
|
|
|
} |
|
|
|
|
|
|
|
# Code is not reloaded between requests |
|
|
|
config.cache_classes = true |
|
|
|