Role "collection limit" setting missing in params (#38794)

This commit is contained in:
Shlee 2026-04-23 23:02:12 +09:30 committed by GitHub
parent e2be688389
commit 7c1d6ab114
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ module Admin
def resource_params
params
.expect(user_role: [:name, :color, :highlighted, :position, :require_2fa, permissions_as_keys: []])
.expect(user_role: [:name, :color, :highlighted, :position, :require_2fa, :collection_limit, permissions_as_keys: []])
end
end
end