discourse/app/serializers/directory_column_serializer.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
327 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class DirectoryColumnSerializer < ApplicationSerializer
attributes :id,
:name,
:automatic,
:enabled,
:automatic_position,
:position,
:icon
has_one :user_field, serializer: UserFieldSerializer, embed: :objects
end