discourse-akismet/serializers/reviewable_akismet_post_voting_comment_serializer.rb
Ted Johansson 525100fbc7
DEV: Add refreshed RevieableAkismetPostVotingComment UI (#187)
Update ReviewableAkismetPostVotingComment model to support both legacy and new UI patterns and add system tests.
2025-11-06 14:28:54 +08:00

12 lines
286 B
Ruby

# frozen_string_literal: true
require_dependency "reviewable_serializer"
class ReviewableAkismetPostVotingCommentSerializer < ReviewableSerializer
target_attributes :cooked
payload_attributes :comment_cooked, :post_id, :external_error
def created_from_flag?
true
end
end