summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-07-07 18:39:45 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-07-07 18:39:45 -0500
commitbe6c4fef40a937757a0e95ba758bf1b6da0155d7 (patch)
tree5e5539faeae7cacc3ab3dc2305903ff5d19dff6e /app/views/users
parent1867d0d505baf518fe92d3c306fddfb56e68a810 (diff)
downloadgitlab-ce-be6c4fef40a937757a0e95ba758bf1b6da0155d7.tar.gz
Removed unnecessary `id` from links and corrected tests to use the proper matcher.9127-link-report-to-profile
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index 520f76eb062..db2b4885861 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -31,7 +31,7 @@
= icon('rss')
- if current_user.admin?
&nbsp;
- = link_to [:admin, @user], id: 'admin_user_path', class: 'btn btn-gray', title: 'View user in admin area',
+ = link_to [:admin, @user], class: 'btn btn-gray', title: 'View user in admin area',
data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= icon('users')