1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Setting up postmark

This commit is contained in:
2016-01-04 16:57:05 +00:00
parent c834985c5d
commit c228657d88

View File

@@ -76,6 +76,10 @@ Wrestling::Application.configure do
#Devise needs origin of email
config.action_mailer.default_url_options = { :host => 'wrestlingapp.heroku.com' }
#Postmark
config.action_mailer.delivery_method = :postmark
config.action_mailer.postmark_settings = { :api_key => ENV["POSTMARK_API_TOKEN"] }
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found).