0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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