Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8192

Show
Ignore:
Timestamp:
11/23/07 16:26:45 (1 year ago)
Author:
minam
Message:

be explicit about the content type of exception notification emails (closes #9985)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/exception_notification/lib/exception_notifier.rb

    r3569 r8192  
    3737 
    3838  def exception_notification(exception, controller, request, data={}) 
     39    content_type "text/plain" 
     40 
    3941    subject    "#{email_prefix}#{controller.controller_name}##{controller.action_name} (#{exception.class}) #{exception.message.inspect}" 
    4042