diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-27 21:01:25 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-27 21:01:25 -0400 |
commit | 0f6489cdfcc1c75500a66bc906a13b98629e0617 (patch) | |
tree | 8ccf9591650f3de07463b81e144b1a932a73181f /app/views/alerts | |
parent | e526f5b62b3dc91ca30eb0382c071227b74baddf (diff) |
fixed username for alerts and made tournament listings btter
Diffstat (limited to 'app/views/alerts')
-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> |