Ticket #1727: actionmailer_move_ATtemplate_patch.diff
| File actionmailer_move_ATtemplate_patch.diff, 0.7 kB (added by orderthruchaos@gmail.com, 3 years ago) |
|---|
-
base.rb
old new 165 165 # remain uninitialized (useful when you only need to invoke the "receive" 166 166 # method, for instance). 167 167 def initialize(method_name=nil, *parameters) #:nodoc: 168 @template = method_name if @template.nil? 168 169 create!(method_name, *parameters) if method_name 169 170 end 170 171 … … 175 176 @charset = @@default_charset.dup 176 177 @content_type = @@default_content_type.dup 177 178 @implicit_parts_order = @@default_implicit_parts_order.dup 178 @template = method_name179 179 @parts = [] 180 180 @headers = {} 181 181 @body = {}