Display User name using #to_s

This commit is contained in:
2024-11-23 14:55:29 +01:00
parent 76ce2eeedd
commit e75391ae18
7 changed files with 10 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
<tbody>
<% @users.each do |user| %>
<tr>
<td class="link"><%= link_to user.email, user_path(user) %></td>
<td class="link"><%= link_to user, user_path(user) %></td>
<td>
<% if user == current_user %>
<%= user.status %>