mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix comment about which mail headers are excluded
This commit is contained in:
parent
df5ada78c0
commit
738be4457b
1 changed files with 1 additions and 1 deletions
|
@ -820,7 +820,7 @@ module ActionMailer
|
|||
# Set configure delivery behavior
|
||||
wrap_delivery_behavior!(headers.delete(:delivery_method), headers.delete(:delivery_method_options))
|
||||
|
||||
# Assign all headers except parts_order, content_type and body
|
||||
# Assign all headers except parts_order, content_type, body, template_name, and template_path
|
||||
assignable = headers.except(:parts_order, :content_type, :body, :template_name, :template_path)
|
||||
assignable.each { |k, v| m[k] = v }
|
||||
|
||||
|
|
Loading…
Reference in a new issue