about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-01-16 14:26:46 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-01-16 06:26:46 +0100
commit9a28052e92702463098570a181b2f7b2e8859b1e (patch)
treef0ea908ff46f5cb66cc50610bcddaf61f6dc163d /app/mailers
parente6fd4bea35d311f9d2a3569fb0165bbaaf9c593b (diff)
Change image URL in mailer to full path (#6264)
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/user_mailer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index 7821be32b..a7efa73c1 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -5,6 +5,8 @@ class UserMailer < Devise::Mailer
 
   helper :instance
 
+  add_template_helper RoutingHelper
+
   def confirmation_instructions(user, token, **)
     @resource = user
     @token    = token