2012-08-28 17:57:12 +01:00
|
|
|
json.project do |json|
|
|
|
|
json.(@project, :id, :name, :visibility)
|
2012-10-17 13:35:56 +01:00
|
|
|
json.partial! 'api/v1/shared/owner', :owner => @project.owner
|
2012-08-28 17:57:12 +01:00
|
|
|
json.url api_v1_project_path(@project, :format => :json)
|
|
|
|
end
|