replace old user links with new format

This commit is contained in:
Toks
2013-04-04 23:16:28 -04:00
parent f1b5f83a3e
commit 8b33cac661
30 changed files with 38 additions and 38 deletions

View File

@@ -9,7 +9,7 @@
<tbody>
<% @dashboard.mod_actions.each do |mod_action| %>
<tr>
<td><%= link_to mod_action.creator.name, user_path(mod_action.creator), { :class => mod_action.creator.level_class } %></td>
<td><%= link_to_user mod_action.creator %></td>
<td><%= format_text(mod_action.description) %></td>
</tr>
<% end %>

View File

@@ -10,7 +10,7 @@
<tbody>
<% @dashboard.user_feedbacks.each do |record| %>
<tr class="feedback-category-<%= record.category %>">
<td><%= link_to(record.user.name, user_path(record.user), { :class => record.user.level_class }) %></td>
<td><%= link_to_user(record.user) %></td>
<td><%= format_text(record.body) %></td>
<td><%= time_ago_in_words_tagged(record.created_at) %></td>
</tr>

View File

@@ -4,7 +4,7 @@
<ul>
<% @users.each do |user| %>
<li><%= link_to user.name, user_path(user), { :class => user.level_class } %></li>
<li><%= link_to_user user %></li>
<% end %>
</ul>