Permalink
Browse files

updating where mailer settings go

  • Loading branch information...
1 parent 1f570a0 commit 588b3fadf5ec35642115223cd952426ef62502ce @jschoolcraft committed Aug 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −0 app/mailers/notifier.rb
  2. +0 −1 config/environments/production.rb
View
@@ -1,5 +1,6 @@
class Notifier < ActionMailer::Base
default :from => "support@urlagg.com"
+ default_url_options[:host] = "urlagg.com"
def password_reset_instructions(user)
@edit_password_reset_url = edit_password_reset_url(user.perishable_token)
@@ -46,7 +46,6 @@
:enable_starttls_auto => true
}
- config.action_mailer.default_url_options[:host] = "urlagg.com"
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true

0 comments on commit 588b3fa

Please sign in to comment.