forked from jasder/forgeplus
12 lines
408 B
Ruby
12 lines
408 B
Ruby
json.id project.id
|
|
json.identifier project.identifier
|
|
json.name project.name
|
|
json.description project.description
|
|
json.visits project.visits
|
|
json.praises_count project.praises_count
|
|
json.forked_count project.forked_count
|
|
json.is_public project.is_public
|
|
json.mirror_url project.repository&.mirror_url
|
|
json.last_update_time render_unix_time(project.updated_on)
|
|
json.time_ago time_from_now(project.updated_on)
|