Skip to content

Commit f091bd6

Browse files
committed
Remove unnecessary condition in content_type
1 parent 40b1f64 commit f091bd6

File tree

1 file changed

+1
-1
lines changed
  • actionmailer/lib/action_mailer

1 file changed

+1
-1
lines changed

actionmailer/lib/action_mailer/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ def collect_responses(headers)
922922
def collect_responses_from_text(headers)
923923
[{
924924
body: headers.delete(:body),
925-
content_type: headers[:content_type] || self.class.default[:content_type] || "text/plain"
925+
content_type: headers[:content_type] || "text/plain"
926926
}]
927927
end
928928

0 commit comments

Comments
 (0)