Add default_branch for Platform API response
This commit is contained in:
parent
8a4351850c
commit
61dc5ca967
|
@ -1,6 +1,6 @@
|
|||
json.platform do
|
||||
json.partial! 'platform', platform: @platform
|
||||
json.(@platform, :description, :parent_platform_id, :released, :distrib_type)
|
||||
json.(@platform, :description, :parent_platform_id, :released, :distrib_type, :default_branch)
|
||||
json.created_at @platform.created_at.to_i
|
||||
json.updated_at @platform.updated_at.to_i
|
||||
json.partial! 'api/v1/shared/owner', owner: @platform.owner
|
||||
|
|
Loading…
Reference in New Issue