diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-03-06 17:12:30 -0800 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-03-06 17:12:30 -0800 |
commit | 49614b0bde7adaf95f9cd21f8a9b077b6c497cdf (patch) | |
tree | 7a073008282da4f5fdc2c53fc0e509169d783edd | |
parent | fc770ee6eb342d4562b6588612f1c9aca46f58e1 (diff) |
Cleanup obsolete url
-rw-r--r-- | app/views/admin_user/_user_table.rhtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin_user/_user_table.rhtml b/app/views/admin_user/_user_table.rhtml index 9c996b542..a4227e017 100644 --- a/app/views/admin_user/_user_table.rhtml +++ b/app/views/admin_user/_user_table.rhtml @@ -4,14 +4,14 @@ <div class="accordion-heading accordion-toggle"> <span class="item-title"> <a href="#user_<%=user.id%>" data-toggle="collapse" data-parent="requests"><i class="icon-chevron-right"></i></a> - <% if user.admin_level == "super" %> + <% if user.admin_level == "super" %> <span class="label">superuser</span> - <% end %> - <%= link_to("#{h(user.name)}", user_admin_url(user))%> + <% end %> + <%= link_to("#{h(user.name)}", admin_user_show_path(user))%> <%= link_to("(#{h(user.email)})", "mailto:#{h(user.email)}")%> </span> <span class="item-metadata"> - updated <%=I18n.l(user.updated_at, :format => "%e %B %Y %H:%M:%S")%> + updated <%=I18n.l(user.updated_at, :format => "%e %B %Y %H:%M:%S")%> </span> </div> <div id="user_<%=user.id%>" class="accordion-body collapse"> |