socialforge/app/views/versions/show.api.rsb

16 lines
463 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
api.version do
api.id @version.id
api.project(:id => @version.project_id, :name => @version.project.name) unless @version.project.nil?
api.name @version.name
api.description @version.description
api.status @version.status
api.due_date @version.effective_date
api.sharing @version.sharing
render_api_custom_values @version.custom_field_values, api
api.created_on @version.created_on
api.updated_on @version.updated_on
end