Rename friendship_notification to follow_notification
This commit is contained in:
parent
256637f6cb
commit
3fcdeba29e
5 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue