Sha256: 4659a6c49aac708c9f8f71298d9e07d3eef8b4abea868b182f381eab68d8205d

Contents?: true

Size: 380 Bytes

Versions: 11

Compression:

Stored size: 380 Bytes

Contents

module Rostra
  class ApplicationMailer < ActionMailer::Base
    layout Rostra::Config.email_layout

    def notification(user, question)
      @user = user
      @question = question
      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

Version Path
rostra-0.1.19 app/mailers/rostra/application_mailer.rb
rostra-0.1.18 app/mailers/rostra/application_mailer.rb
rostra-0.1.17 app/mailers/rostra/application_mailer.rb
rostra-0.1.16 app/mailers/rostra/application_mailer.rb
rostra-0.1.15 app/mailers/rostra/application_mailer.rb
rostra-0.1.14 app/mailers/rostra/application_mailer.rb
rostra-0.1.13 app/mailers/rostra/application_mailer.rb
rostra-0.1.12 app/mailers/rostra/application_mailer.rb
rostra-0.1.10 app/mailers/rostra/application_mailer.rb
rostra-0.1.9 app/mailers/rostra/application_mailer.rb
rostra-0.1.8 app/mailers/rostra/application_mailer.rb