]> cat aescling's git repositories - mastodon.git/commitdiff
Fix incorrect param in role card link (#18776)
authorClaire <claire.github-309c@sitedethib.com>
Tue, 5 Jul 2022 18:01:50 +0000 (20:01 +0200)
committeraescling <aescling+gitlab@cat.family>
Mon, 5 Sep 2022 04:27:53 +0000 (00:27 -0400)
app/views/admin/roles/_role.html.haml

index 6804f4f1549ab160ff16c0f24106590c3160cfd7..1ca5ca39206851f5320b6c088caa4d478d509e6e 100644 (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)