Skip to content

Commit

Permalink
added i18n support
Browse files Browse the repository at this point in the history
  • Loading branch information
vintikzzz committed Jun 23, 2012
1 parent f27ba2a commit 6c0296b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions config/environments/production.rb
Expand Up @@ -64,12 +64,13 @@
# Log the query plan for queries taking more than this (works
# with SQLite, MySQL, and PostgreSQL)
config.action_mailer.smtp_settings = {
:address => 'smtp.sendgrid.net',
:port => '587',
:port => ENV['MAILGUN_SMTP_PORT'],
:address => ENV['MAILGUN_SMTP_SERVER'],
:user_name => ENV['MAILGUN_SMTP_LOGIN'],
:password => ENV['MAILGUN_SMTP_PASSWORD'],
:domain => 'backbone-bootstrap-rails.herokuapp.com',
:authentication => :plain,
:user_name => ENV['SENDGRID_USERNAME'],
:password => ENV['SENDGRID_PASSWORD'],
:domain => 'backbone-bootstrap-rails.herokuapp.com'
}
config.action_mailer.delivery_method = :smtp # config.active_record.auto_explain_threshold_in_seconds = 0.5
config.action_mailer.default_url_options = { :host => 'backbone-bootstrap-rails.herokuapp.com' }
end

0 comments on commit 6c0296b

Please sign in to comment.