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

Put postmark setting in correct spot

This commit is contained in:
2016-01-04 17:00:35 +00:00
parent c228657d88
commit bb83e47641
2 changed files with 2 additions and 7 deletions

View File

@@ -73,13 +73,6 @@ Wrestling::Application.configure do
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
#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).