From 67732cd293af2e5ddddf7340ebd71fe199a6a336 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 20 Dec 2018 11:27:51 +0100 Subject: [PATCH] show client description in api --- app/serializers/client_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/client_serializer.rb b/app/serializers/client_serializer.rb index 96c9fbf72..c77bf4976 100644 --- a/app/serializers/client_serializer.rb +++ b/app/serializers/client_serializer.rb @@ -4,7 +4,7 @@ class ClientSerializer set_type :clients set_id :uid - attributes :name, :symbol, :year, :contact_name, :contact_email, :domains, :url, :created, :updated + attributes :name, :symbol, :year, :contact_name, :contact_email, :description, :domains, :url, :created, :updated belongs_to :provider, record_type: :providers belongs_to :repository, record_type: :repositories, if: Proc.new { |client| client.repository_id }