diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-07-08 02:39:45 +0300 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-07-08 02:39:45 +0300 |
commit | be6c4fef40a937757a0e95ba758bf1b6da0155d7 (patch) | |
tree | 5e5539faeae7cacc3ab3dc2305903ff5d19dff6e /app/views/users | |
parent | 1867d0d505baf518fe92d3c306fddfb56e68a810 (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.haml | 2 |
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? - = 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') |