Update mailer_patch.rb

There is a problem, at least in Redmine 3.4. I can't send e-mails in html format using html_body tag. I had to do a little change in the  mailer_patch.rb file.
This commit is contained in:
germanolucas 2018-09-19 15:55:45 -03:00 committed by GitHub
parent e8c3e1a9cf
commit 763900f367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ module RedmineCustomWorkflows
if text_body || html_body
mail headers do |format|
format.text { render :text => text_body } if text_body
format.html { render :html => html_body } if html_body
format.html { render :text => html_body } if html_body
end
elsif template_name
template_params.each { |k,v| instance_variable_set("@#{k}", v) }