app/mailers/rostra/application_mailer.rb in rostra-0.1.19 vs app/mailers/rostra/application_mailer.rb in rostra-0.1.20
- old
+ new
@@ -1,11 +1,13 @@
module Rostra
class ApplicationMailer < ActionMailer::Base
+ helper 'rostra/base/application'
layout Rostra::Config.email_layout
- def notification(user, question)
+ def notification(user, added_content, question)
@user = user
@question = question
+ @added_content = added_content
mail(
:to => user.rostra_user_email,
:subject => "There's been activity on: #{question.title}",
:from => Rostra::Config.deliver_emails_from
)
\ No newline at end of file