removes sending individual proposal notifications via email

This commit is contained in:
rgarcia
2016-06-15 10:43:02 +02:00
parent ce6072d17b
commit 28d12fe55b
13 changed files with 1 additions and 168 deletions

View File

@@ -42,14 +42,6 @@ class Mailer < ApplicationMailer
end
end
def proposal_notification(notification, voter)
@notification = notification
with_user(voter) do
mail(to: voter.email, subject: @notification.title + ": " + @notification.proposal.title)
end
end
def direct_message_for_receiver(direct_message)
@direct_message = direct_message
@receiver = @direct_message.receiver