mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Apply syntax_tree formatting to app/*
This commit is contained in:
@ -1,13 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ReviewableExplanationSerializer < ApplicationSerializer
|
||||
attributes(
|
||||
:id,
|
||||
:total_score,
|
||||
:scores,
|
||||
:min_score_visibility,
|
||||
:hide_post_score
|
||||
)
|
||||
attributes(:id, :total_score, :scores, :min_score_visibility, :hide_post_score)
|
||||
|
||||
has_many :scores, serializer: ReviewableScoreExplanationSerializer, embed: :objects
|
||||
|
||||
|
Reference in New Issue
Block a user