Fix incorrect param in role card link (#18776)

lolsob-rspec
Claire 2022-07-05 20:01:50 +02:00 committed by GitHub
parent e164d6a687
commit e22604d9c9
1 changed files with 1 additions and 1 deletions

View File

@ -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)