Allow user to see their profile page
This commit is contained in:
parent
b4e56645f6
commit
267dc439f1
4 changed files with 18 additions and 11 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue