diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-07-18 10:27:13 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-07-18 10:28:30 -0500 |
commit | f76669a10e916b294c9c1e5c197009c11e185005 (patch) | |
tree | 1653782b711c0a49b77d9abd4a7ef31b364f6391 /app/views/admin/users | |
parent | c424ce52c9e89391dfc36337fb3dbbd812ad0749 (diff) | |
download | gitlab-ce-f76669a10e916b294c9c1e5c197009c11e185005.tar.gz |
Fix haml-lint RuboCop error in admin/users/index
Diffstat (limited to 'app/views/admin/users')
-rw-r--r-- | app/views/admin/users/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index c3d5ce0fe70..6fc7ec1bb6f 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -52,7 +52,7 @@ = icon("search", class: "search-icon") = button_tag s_('AdminUsers|Search users') if Rails.env.test? .dropdown.user-sort-dropdown - - toggle_text = if @sort.present? then users_sort_options_hash[@sort] else sort_title_name end + - toggle_text = @sort.present? ? users_sort_options_hash[@sort] : sort_title_name = dropdown_toggle(toggle_text, { toggle: 'dropdown' }) %ul.dropdown-menu.dropdown-menu-right %li.dropdown-header |