]> git.openstreetmap.org Git - rails.git/blobdiff - app/mailers/user_mailer.rb
Add unsubscribe link to changeset notification mails
[rails.git] / app / mailers / user_mailer.rb
index 0894b972d7e0735d2e146054636d93a923f0b7ef..f4cd9d3e5471a869b4acc06ce7ea9f474d1757f5 100644 (file)
@@ -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