Class: Errorkit::ErrorsMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Errorkit::ErrorsMailer
- Defined in:
- lib/errorkit/errors_mailer.rb
Instance Method Summary collapse
Instance Method Details
#error_notification(error_id) ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/errorkit/errors_mailer.rb', line 11 def error_notification(error_id) @error = Error.find(error_id) mail(:to => mailer_recipients, :from => mailer_sender, :subject => mailer_subject) do |format| format.html { render "#{mailer_name}/error_notification" } end end |