Project

General

Profile

Feature #12181 ยป index.api.rsb.patch

Anonymous, 2013-02-28 13:22

View differences:

index.api.rsb (Arbeitskopie)
25 25
      api.updated_on issue.updated_on
26 26
      api.closed_on  issue.closed_on
27 27

  
28
      api.array :attachments do
29
      issue.attachments.each do |attachment|
30
      render_api_attachment(attachment, api)
31
      end
32
      end if include_in_api_response?('attachments')
33
      
28 34
      api.array :relations do
29 35
        issue.relations.each do |relation|
30 36
          api.relation(:id => relation.id, :issue_id => relation.issue_from_id, :issue_to_id => relation.issue_to_id, :relation_type => relation.relation_type, :delay => relation.delay)
    (1-1/1)