Fixed issue #1969: Password reset: No such file or directory @ rb_sysopen - app/views/mailer/application_wrapper.html.erb .
This commit is contained in:
parent
c2042d0595
commit
4a4deff2a7
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ Check if string is a complete html document. If not, add head and css styles.
|
|||
|
||||
return html if html.match?(/<html>/i)
|
||||
|
||||
html_email_body = File.read('app/views/mailer/application_wrapper.html.erb')
|
||||
html_email_body = File.read(Rails.root.join('app', 'views', 'mailer', 'application_wrapper.html.erb').to_s)
|
||||
|
||||
html_email_body.gsub!('###html_email_css_font###', Setting.get('html_email_css_font'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue