discourse-akismet/serializers/reviewable_akismet_post_serializer.rb
Krzysztof Kotlarek c195bcd46c
FEATURE: Update the ReviewableAkismetPost UI (#186)
Refactored ReviewableAkismetComment model to support both legacy and new UI patterns
- Renamed build_actions to build_legacy_combined_actions for backward compatibility
- Added build_new_separated_actions for the new UI action pattern
- Created new akisment-post.gjs Glimmer component to display reviewable
- Added system specs covering basic actions
2025-11-06 09:52:27 +08:00

12 lines
260 B
Ruby

# frozen_string_literal: true
require_dependency "reviewable_serializer"
class ReviewableAkismetPostSerializer < ReviewableSerializer
target_attributes :cooked
payload_attributes :post_cooked, :external_error
def created_from_flag?
true
end
end