Add unsubscribe link to changeset notification mails
This commit is contained in:
parent
8e21e4e801
commit
f0764d3eca
12 changed files with 227 additions and 4 deletions
|
@ -162,6 +162,7 @@ class UserMailer < ApplicationMailer
|
|||
@changeset_comment = comment.changeset.tags["comment"].presence
|
||||
@time = comment.created_at
|
||||
@changeset_author = comment.changeset.user.display_name
|
||||
@unsubscribe_url = changeset_unsubscribe_url(comment.changeset)
|
||||
@author = @commenter
|
||||
|
||||
subject = if @owner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue