mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Update to lastest rubocop-discourse
This commit is contained in:

committed by
Loïc Guitaut

parent
3b6d4c830f
commit
2a28cda15c
@ -137,7 +137,7 @@ class Admin::GroupsController < Admin::StaffController
|
||||
notify_users
|
||||
]
|
||||
custom_fields = DiscoursePluginRegistry.editable_group_custom_fields
|
||||
permitted << { custom_fields: custom_fields } unless custom_fields.blank?
|
||||
permitted << { custom_fields: custom_fields } if custom_fields.present?
|
||||
|
||||
permitted << { associated_group_ids: [] } if guardian.can_associate_groups?
|
||||
|
||||
|
Reference in New Issue
Block a user