diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-07-05 20:01:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 20:01:50 +0200 |
commit | 0665ba8a2307f7e894c99261864536d9998b2ca1 (patch) | |
tree | 661cf5aaf10def459de01893db908f248a15ac7c /app/views/admin | |
parent | 44b2ee3485ba0845e5910cefcb4b1e2f84f34470 (diff) |
Fix incorrect param in role card link (#18776)
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/roles/_role.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/roles/_role.html.haml b/app/views/admin/roles/_role.html.haml index 6804f4f15..1ca5ca392 100644 --- a/app/views/admin/roles/_role.html.haml +++ b/app/views/admin/roles/_role.html.haml @@ -13,6 +13,6 @@ - if role.everyone? = t('admin.roles.everyone_full_description_html') - else - = link_to t('admin.roles.assigned_users', count: role.users.count), admin_accounts_path(role_id: role.id) + = link_to t('admin.roles.assigned_users', count: role.users.count), admin_accounts_path(role_ids: role.id) • %abbr{ title: role.permissions_as_keys.map { |privilege| I18n.t("admin.roles.privileges.#{privilege}") }.join(', ') }= t('admin.roles.permissions_count', count: role.permissions_as_keys.size) |