Permalink
Browse files

be explicit about the content type of exception notification emails (…

…closes #9985)
  • Loading branch information...
1 parent 7bbb704 commit 1d6ec3f5db3122774f04fb950df87200a48bf2ce @jamis jamis committed Nov 23, 2007
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/exception_notifier.rb
@@ -36,6 +36,8 @@ class ExceptionNotifier < ActionMailer::Base
def self.reloadable?; false; end
def exception_notification(exception, controller, request, data={})
+ content_type "text/plain"
+
subject "#{email_prefix}#{controller.controller_name}##{controller.action_name} (#{exception.class}) #{exception.message.inspect}"
recipients exception_recipients

0 comments on commit 1d6ec3f

Please sign in to comment.