diff --git a/app/serializers/rest/group_categories_serializer.rb b/app/serializers/rest/group_categories_serializer.rb new file mode 100644 index 00000000..9b1f7e38 --- /dev/null +++ b/app/serializers/rest/group_categories_serializer.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class REST::GroupCategoriesSerializer < ActiveModel::Serializer + attributes :id, :text, :created_at + + def id + object.id.to_s + end +end