about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-16 20:20:15 +0100
committerGitHub <noreply@github.com>2018-01-16 20:20:15 +0100
commit02194838dd64558cd974e68cb0bf800dffd25c91 (patch)
tree7bf51dc8185c9aa2c5fd48c3ddf7f2edc5922c22 /app/mailers
parent3323b4173edad987a049c6c1c2903781ed5be059 (diff)
HTML e-mails for NotificationMailer (#6263)
* HTML e-mails for NotificationMailer (except digest)

* Add HTML template for digest

* Fix build
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notification_mailer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/mailers/notification_mailer.rb b/app/mailers/notification_mailer.rb
index 07992102d..9fed4a636 100644
--- a/app/mailers/notification_mailer.rb
+++ b/app/mailers/notification_mailer.rb
@@ -1,10 +1,10 @@
 # frozen_string_literal: true
 
 class NotificationMailer < ApplicationMailer
-  layout 'plain_mailer'
-
   helper :stream_entries
 
+  add_template_helper RoutingHelper
+
   def mention(recipient, notification)
     @me     = recipient
     @status = notification.target_status