OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/api/experimental/versions/index.api.rabl

10 lines
176 B

collection @versions => :versions
attributes id: :id
node(:name) do |version|
if version.project == @project
version.name
else
version.to_s_with_project
end
end