2013-07-17 13:35:36 +01:00
|
|
|
json.issue do
|
2014-01-21 04:51:49 +00:00
|
|
|
json.partial! 'issue', issue: @issue
|
2013-04-15 12:31:46 +01:00
|
|
|
json.issue @issue.body
|
2014-01-21 04:51:49 +00:00
|
|
|
json.partial! 'api/v1/shared/owner', owner: @issue.user
|
2013-04-15 12:31:46 +01:00
|
|
|
json.closed_at @issue.closed_at.to_i
|
2013-07-17 13:35:36 +01:00
|
|
|
json.closed_by do
|
2014-01-21 04:51:49 +00:00
|
|
|
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
|