Allow user to see their profile page

This commit is contained in:
ricola 2026-04-20 13:09:14 -06:00
parent b4e56645f6
commit 267dc439f1
4 changed files with 18 additions and 11 deletions

View file

@ -14,7 +14,7 @@
</thead>
<% @users.sort_by { |user| user.email }.each do |user| %>
<tr>
<td><a href="/admin/users/<%= user.id %>"><%= user.email %></a></td>
<td><a href="/users/<%= user.id %>"><%= user.email %></a></td>
<td><%= format_date(user.created_at) %></td>
<td><%= user.admin %></td>
<td><%= user.votes.length %></td>