Sha256: 1ecb9877ecbcb7197afde13f14eadcf874cd4cf67b8356d18c70f837a0c616c8

Contents?: true

Size: 341 Bytes

Versions: 16

Compression:

Stored size: 341 Bytes

Contents

module Rostra
  class ApplicationMailer < ActionMailer::Base

    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

16 entries across 16 versions & 1 rubygems

Version Path
rostra-0.1.7 app/mailers/rostra/application_mailer.rb
rostra-0.1.6 app/mailers/rostra/application_mailer.rb
rostra-0.1.5 app/mailers/rostra/application_mailer.rb
rostra-0.1.4 app/mailers/rostra/application_mailer.rb
rostra-0.1.3 app/mailers/rostra/application_mailer.rb
rostra-0.1.2 app/mailers/rostra/application_mailer.rb
rostra-0.1.1 app/mailers/rostra/application_mailer.rb
rostra-0.0.17 app/mailers/rostra/application_mailer.rb
rostra-0.0.16 app/mailers/rostra/application_mailer.rb
rostra-0.0.15 app/mailers/rostra/application_mailer.rb
rostra-0.0.14 app/mailers/rostra/application_mailer.rb
rostra-0.0.13 app/mailers/rostra/application_mailer.rb
rostra-0.0.12 app/mailers/rostra/application_mailer.rb
rostra-0.0.11 app/mailers/rostra/application_mailer.rb
rostra-0.0.10 app/mailers/rostra/application_mailer.rb
rostra-0.0.9 app/mailers/rostra/application_mailer.rb