From 26adfdcbd5fb0418c90ae6e7ef55a2e8d12c959d Mon Sep 17 00:00:00 2001 From: Godwin Date: Tue, 23 May 2017 15:51:43 -0700 Subject: [PATCH] Another fix for emails --- app/mailers/user_mailer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index bdd9ea2..3e0f999 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -176,5 +176,6 @@ class UserMailer < ActionMailer::Base else @host = UserMailer.default_url_options[:host] end + default_url_options[:host] = @host end end