Mercurial > hg > soundsoftware-site
view app/views/issue_categories/index.api.rsb @ 1055:b6f7225bf954 bibplugin_db_migrations
Created migration to add 3 columns to the publications table: DOI created_at and updated_at.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 19 Nov 2012 18:53:07 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
api.array :issue_categories, api_meta(:total_count => @categories.size) do @categories.each do |category| api.issue_category do api.id category.id api.project(:id => category.project_id, :name => category.project.name) unless category.project.nil? api.name category.name api.assigned_to(:id => category.assigned_to_id, :name => category.assigned_to.name) unless category.assigned_to.nil? end end end