2013-07-17 13:35:36 +01:00
|
|
|
json.issue do
|
|
|
|
json.partial! 'issue', :issue => @issue
|
2013-04-15 12:31:46 +01:00
|
|
|
json.issue @issue.body
|
|
|
|
json.partial! 'api/v1/shared/owner', :owner => @issue.user
|
|
|
|
json.closed_at @issue.closed_at.to_i
|
2013-07-17 13:35:36 +01:00
|
|
|
json.closed_by do
|
|
|
|
json.partial! 'api/v1/shared/member', :member => @issue.closer
|
2013-04-15 12:31:46 +01:00
|
|
|
end if @issue.closer
|
|
|
|
json.created_at @issue.created_at.to_i
|
|
|
|
json.updated_at @issue.updated_at.to_i
|
|
|
|
end
|