Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-07-08 02:39:45 +0300
committerPatricio Cano <suprnova32@gmail.com>2016-07-08 02:39:45 +0300
commitbe6c4fef40a937757a0e95ba758bf1b6da0155d7 (patch)
tree5e5539faeae7cacc3ab3dc2305903ff5d19dff6e /app/views/users
parent1867d0d505baf518fe92d3c306fddfb56e68a810 (diff)
Removed unnecessary `id` from links and corrected tests to use the proper matcher.
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')