##// END OF EJS Templates
Rails3: model: mailer: use .to_s at redmine_headers method...
Toshi MARUYAMA -
r8348:2ab7dba9641c
parent child
Show More
@@ -381,7 +381,7 class Mailer < ActionMailer::Base
381
381
382 # Appends a Redmine header field (name is prepended with 'X-Redmine-')
382 # Appends a Redmine header field (name is prepended with 'X-Redmine-')
383 def redmine_headers(h)
383 def redmine_headers(h)
384 h.each { |k,v| headers["X-Redmine-#{k}"] = v }
384 h.each { |k,v| headers["X-Redmine-#{k}"] = v.to_s }
385 end
385 end
386
386
387 # Overrides the create_mail method
387 # Overrides the create_mail method
General Comments 0
You need to be logged in to leave comments. Login now