Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 255 Bytes
class FollowingMailer < ActionMailer::Base
default from: "from@example.com"
def followed_notification(follower, followed_user)
@follower = follower
mail(:to=>followed_user.email, :subject=>"#{@follower.email} is now following you")
end
end
Something went wrong with that request. Please try again.