HTML e-mails for NotificationMailer (#6263)

* HTML e-mails for NotificationMailer (except digest)

* Add HTML template for digest

* Fix build
This commit is contained in:
Eugen Rochko
2018-01-16 20:20:15 +01:00
committed by GitHub
parent 3323b4173e
commit 02194838dd
15 changed files with 410 additions and 5 deletions

View File

@ -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