socialforge/app/views/issue_categories/show.api.rsb

7 lines
302 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
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