From: Claire Date: Tue, 5 Jul 2022 18:01:50 +0000 (+0200) Subject: Fix incorrect param in role card link (#18776) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=fe866fe3d4d34a14cd1940b95aef0b1aa680f422;p=mastodon.git Fix incorrect param in role card link (#18776) --- 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)