view .svn/pristine/1b/1b72750fe3e10ec61029653a70e90ded5cedc32d.svn-base @ 985:acaa61dde68b bug_522

Allow file attachment to wrap to avoid extra-wide text field
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 26 Oct 2012 17:18:52 +0100
parents cbb26bc654de
children
line wrap: on
line source
api.array :issue_categories, api_meta(:total_count => @categories.size) do
  @categories.each do |category|
    api.issue_category do
      api.id category.id
      api.project(:id => category.project_id, :name => category.project.name) unless category.project.nil?
      api.name category.name
      api.assigned_to(:id => category.assigned_to_id, :name => category.assigned_to.name) unless category.assigned_to.nil?
    end
  end
end