diff options
Diffstat (limited to 'app/views/alerts/index.html.erb')
-rw-r--r-- | app/views/alerts/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/alerts/index.html.erb b/app/views/alerts/index.html.erb index 1d441a2..c978bea 100644 --- a/app/views/alerts/index.html.erb +++ b/app/views/alerts/index.html.erb @@ -15,7 +15,7 @@ <% if !@alerts.nil? %> <% @alerts.each do |alert| %> <tr> - <td><%= alert.author %></td> + <td><%= alert.author.user_name %></td> <td><%= alert.message %></td> <td><%= link_to 'Show', alert %></td> <td><%= link_to 'Edit', edit_alert_path(alert) %></td> |