mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
8 lines
208 B
Ruby
8 lines
208 B
Ruby
# frozen_string_literal: true
|
|
|
|
class WebHookCategorySerializer < CategorySerializer
|
|
%i[can_edit notification_level available_groups].each do |attr|
|
|
define_method("include_#{attr}?") { false }
|
|
end
|
|
end
|