From 0665ba8a2307f7e894c99261864536d9998b2ca1 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 5 Jul 2022 20:01:50 +0200 Subject: [PATCH] Fix incorrect param in role card link (#18776) --- app/views/admin/roles/_role.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/roles/_role.html.haml b/app/views/admin/roles/_role.html.haml index 6804f4f154..1ca5ca3920 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)