Client side creation and removal of tags

This commit is contained in:
jendib
2013-07-30 01:34:30 +02:00
parent b9f26929cc
commit db8ff759a6
8 changed files with 111 additions and 5 deletions
@@ -51,6 +51,7 @@ public class TagResource extends BaseResource {
for (Tag tag : tagList) {
JSONObject item = new JSONObject();
item.put("id", tag.getId());
item.put("name", tag.getName());
items.add(item);
}
response.put("tags", items);