diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-03 21:30:13 -0500 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-03 21:30:13 -0500 |
commit | 46fba3e280d601b2b2981dd145bab3bb11194b30 (patch) | |
tree | 39bbdf87d30995e730f287e8dfb6a1609d40de06 /app/views/users | |
parent | 271f890f06ac94a785f3223d0c44a7fa8b9d74f7 (diff) | |
parent | 25ec3364c15751207cd9dd56157e103a4ee9d782 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Log out
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/index.html.erb | 5 |
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> |