about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-29 00:22:20 +0100
committerGitHub <noreply@github.com>2018-01-29 00:22:20 +0100
commit79bc3d58456a850a7f2d99a2c0e15ff1618c1a0e (patch)
tree5bec2a3bf54ff6e840884771b2e8a49db11d6380 /app/mailers
parent106efba800a63d508aabdc661cb0551c2b82110c (diff)
Add direction tags to HTML e-mails for RTL languages (#6373)
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/application_mailer.rb1
-rw-r--r--app/mailers/user_mailer.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb
index 683b60c86..bf161b9be 100644
--- a/app/mailers/application_mailer.rb
+++ b/app/mailers/application_mailer.rb
@@ -3,6 +3,7 @@
 class ApplicationMailer < ActionMailer::Base
   layout 'mailer'
 
+  helper :application
   helper :instance
   helper :mailer
 
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index 4104f6cd2..2fc9caba3 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -3,6 +3,7 @@
 class UserMailer < Devise::Mailer
   layout 'mailer'
 
+  helper :application
   helper :instance
 
   add_template_helper RoutingHelper