summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/index.html.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 10f19f4..c128661 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -6,7 +6,7 @@
<th>Name</th>
<th>Pw hash</th>
<th></th>
- <th></th>
+
<th></th>
</tr>
</thead>
@@ -14,9 +14,8 @@
<tbody>
<% @users.each do |user| %>
<tr>
- <td><%= user.name %></td>
+ <td><%= link_to("#{user.name}", user, nil) %></td>
<td> ******* </td>
- <td><%= link_to 'Show', user %></td>
<td><%= link_to 'Edit', edit_user_path(user) %></td>
<td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>