Sha256: 7e6fc2442f8fa415e0cab8d9712dc394a5fcaacb12d932a197c79e5088b79d23
Contents?: true
Size: 464 Bytes
Versions: 11
Compression:
Stored size: 464 Bytes
Contents
module Rostra class ApplicationMailer < ActionMailer::Base helper 'rostra/application' layout Rostra::Config.email_layout 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 ) end end end
Version data entries
11 entries across 11 versions & 1 rubygems