Fix html interpretation in ReceivedMail
This commit is contained in:
parent
b56883db16
commit
a48299353e
3 changed files with 3 additions and 3 deletions
1
app/views/notification_mailer/dossier_received.html.erb
Normal file
1
app/views/notification_mailer/dossier_received.html.erb
Normal file
|
@ -0,0 +1 @@
|
|||
<%= (MailTemplate.replace_tags @dossier.procedure.mail_received.body, @dossier).html_safe %>
|
|
@ -1 +0,0 @@
|
|||
<%= MailTemplate.replace_tags @dossier.procedure.mail_received.body, @dossier %>
|
|
@ -37,10 +37,10 @@ Rails.application.configure do
|
|||
config.assets.raise_runtime_errors = true
|
||||
|
||||
config.action_mailer.delivery_method = :test
|
||||
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||
|
||||
# Raises error for missing translations
|
||||
# config.action_view.raise_on_missing_translations = true
|
||||
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue