Sha256: b1a413edd84a1881bccaf63d92feaae1329072affedf02caa7e82ca3ffe514a2

Contents?: true

Size: 316 Bytes

Versions: 8

Compression:

Stored size: 316 Bytes

Contents

class AdminMailer < ActionMailer::Base
  default from: "Exception Notifier <deploy@ohlalaweb.com>"
  
  def rescued_exceptions(exception, message)
    @exception, @message = exception, message
    mail to: "Swami Atma <swami@TenThousandHours.eu>", subject: "Rescued Exception - #{Setting.first.site_name}"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tkh_admin_panel-0.3.1 app/mailers/admin_mailer.rb
tkh_admin_panel-0.3 app/mailers/admin_mailer.rb
tkh_admin_panel-0.2.8 app/mailers/admin_mailer.rb
tkh_admin_panel-0.2.7 app/mailers/admin_mailer.rb
tkh_admin_panel-0.2.6 app/mailers/admin_mailer.rb
tkh_admin_panel-0.2.5.1 app/mailers/admin_mailer.rb
tkh_admin_panel-0.2.5 app/mailers/admin_mailer.rb
tkh_admin_panel-0.2.4.1 app/mailers/admin_mailer.rb