forgeplus/app/views/api/pm/weekly_issues/personal_issues.json.jbuilder

8 lines
397 B
Ruby

json.this_week_all_issues @this_week_all_issues.each do |issue|
json.partial! "api/v1/issues/simple_detail", locals: {issue: issue}
end
json.this_week_total_count @this_week_all_issues.total_count
json.next_week_all_issues @next_week_all_issues.each do |issue|
json.partial! "api/v1/issues/simple_detail", locals: {issue: issue}
end
json.next_week_total_count @next_week_all_issues.total_count