diff --git a/app/views/complaints_mailer/new_complaint_received.html.erb b/app/views/complaints_mailer/new_complaint_received.html.erb index a7978285902cf482d347a4f54e5bec829d363e37..556ed05060caf9cf43dbbd4081e7fb66a6a49ebf 100644 --- a/app/views/complaints_mailer/new_complaint_received.html.erb +++ b/app/views/complaints_mailer/new_complaint_received.html.erb @@ -10,6 +10,7 @@ <h2>Descrição: <%= @complaint.description %></h1> <h2>Classe denunciada: <%= @complaint.complainable_type %></h1> <h2>Id: <%= @complaint.complainable_id %></h1> - <h2>Razão: <%= @complaint.complaint_reason_id %></h1> + <h2>Nome: <%= @complaint.complainable.name %></h1> + <h2>Razão: <%= @complaint.complaint_reason.reason %></h1> </body> </html>