annotate app/views/issue_categories/index.api.rsb @ 1046:d021c0bab1e1 cannam

Ensure changed fonts css is pulled (otherwise browsers will reuse old cached copy)
author Chris Cannam
date Thu, 15 Nov 2012 10:01:00 +0000
parents cbb26bc654de
children
rev   line source
Chris@909 1 api.array :issue_categories, api_meta(:total_count => @categories.size) do
Chris@909 2 @categories.each do |category|
Chris@909 3 api.issue_category do
Chris@909 4 api.id category.id
Chris@909 5 api.project(:id => category.project_id, :name => category.project.name) unless category.project.nil?
Chris@909 6 api.name category.name
Chris@909 7 api.assigned_to(:id => category.assigned_to_id, :name => category.assigned_to.name) unless category.assigned_to.nil?
Chris@909 8 end
Chris@909 9 end
Chris@909 10 end