diff options
| author | mo <mo.khan@gmail.com> | 2017-08-30 22:59:21 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-08-30 22:59:21 -0600 |
| commit | 32f815f6593aa55297cafeea3ef366838bcfd195 (patch) | |
| tree | e59860a945c1b2fec960e503d71c38a41521652b | |
| parent | aa90214867257516cca265d3e216790176526172 (diff) | |
| -rw-r--r-- | app/views/emails/index.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/emails/index.html.erb b/app/views/emails/index.html.erb index 4d3d9af..6a89668 100644 --- a/app/views/emails/index.html.erb +++ b/app/views/emails/index.html.erb @@ -15,12 +15,12 @@ <tbody> <% @emails.each do |email| %> <tr> - <td><%= mail_to email.to[0]["email"] %></td> + <td><%= email.to.map { |x| mail_to(x["full"]) }.join(",").html_safe %></td> <td><%= mail_to email.from["full"] %></td> <td><%= email.subject %></td> <td><%= email.body %></td> - <td><%= email.created_at %></td> - <td><%= email.updated_at %></td> + <td><%= l email.created_at, format: :short %></td> + <td><%= l email.updated_at, format: :short %></td> </tr> <% end %> </tbody> |
