Adds share and comment button on email

This commit is contained in:
Alberto Garcia Cabeza
2016-06-07 16:12:16 +02:00
parent bfc9c6c0df
commit e550a40f90
7 changed files with 30 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ class Mailer < ApplicationMailer
@notification = notification
with_user(voter) do
mail(to: voter.email, subject: @notification.title)
mail(to: voter.email, subject: @notification.title + ": " + @notification.proposal.title)
end
end