X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3eccf65d8cf2ceb13050f5c8d1396546631994be..0cd18eb02f853bfa93673f046b793bd53ac5aa68:/app/mailers/user_mailer.rb?ds=sidebyside diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index fea73c710..e466b694a 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -119,7 +119,7 @@ class UserMailer < ApplicationMailer end end - def friendship_notification(follow) + def follow_notification(follow) with_recipient_locale follow.following do @follow = follow @viewurl = user_url(@follow.follower) @@ -177,7 +177,7 @@ class UserMailer < ApplicationMailer @changeset_comment = comment.changeset.tags["comment"].presence @time = comment.created_at @changeset_author = comment.changeset.user.display_name - @unsubscribe_url = unsubscribe_changeset_url(comment.changeset) + @changeset_subscription_url = changeset_subscription_url(comment.changeset) @author = @commenter subject = if @owner @@ -193,8 +193,8 @@ class UserMailer < ApplicationMailer set_list_headers( "#{comment.changeset.id}.changeset.www.openstreetmap.org", t(".description", :id => comment.changeset.id), - :subscribe => subscribe_changeset_url(comment.changeset), - :unsubscribe => @unsubscribe_url, + :subscribe => @changeset_subscription_url, + :unsubscribe => @changeset_subscription_url, :archive => @changeset_url )