Rename friendship_notification to follow_notification

This commit is contained in:
Tom Hughes 2025-01-17 22:48:48 +00:00
parent 256637f6cb
commit 3fcdeba29e
5 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ class FollowsController < ApplicationController
flash[:error] = t ".limit_exceeded"
elsif follow.save
flash[:notice] = t ".success", :name => @friend.display_name
UserMailer.friendship_notification(follow).deliver_later
UserMailer.follow_notification(follow).deliver_later
else
follow.add_error(t(".failed", :name => @friend.display_name))
end