Project

General

Profile

Feature #9834 ยป ProjectMembers.diff

Preethi Sriram, 2012-01-31 00:11

View differences:

app/views/projects/show.api.rsb (working copy)
22 22
      api.issue_category(:id => category.id, :name => category.name)
23 23
    end
24 24
  end if include_in_api_response?('issue_categories')
25

  
26
  api.array :members do
27
    @project.members.each do |member|
28
      api.member(:id => member.id, :name => member.user.name)
29
    end
30
  end if include_in_api_response?('members')
25 31
end
    (1-1/1)