DEV: Apply syntax_tree formatting to app/*

This commit is contained in:
David Taylor
2023-01-09 12:20:10 +00:00
parent a641ce4b62
commit 5a003715d3
696 changed files with 18447 additions and 15481 deletions

View File

@ -1,18 +1,11 @@
# frozen_string_literal: true
require_relative 'post_item_excerpt'
require_relative "post_item_excerpt"
class GroupPostSerializer < ApplicationSerializer
include PostItemExcerpt
attributes :id,
:created_at,
:title,
:url,
:category_id,
:post_number,
:topic_id,
:post_type
attributes :id, :created_at, :title, :url, :category_id, :post_number, :topic_id, :post_type
has_one :user, serializer: GroupPostUserSerializer, embed: :object
has_one :topic, serializer: BasicTopicSerializer, embed: :object