summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-27 21:40:48 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-27 21:40:48 -0800
commitec0f89f10a58c3c3751387d5c1d1efcbf940bc9a (patch)
tree2463e384b8365dee6876e610354bd7b23d8071de /modules/tag/helpers
parent4ca91bf6188a1a034ef7770308f42e7c788a1936 (diff)
Change "resource" to "entity" in REST responses. They're all
resources, but we differentiate resources as collections and entities.
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_rest.php b/modules/tag/helpers/tag_rest.php
index 4b2a4b46..7143daa9 100644
--- a/modules/tag/helpers/tag_rest.php
+++ b/modules/tag/helpers/tag_rest.php
@@ -29,7 +29,7 @@ class tag_rest_Core {
return array(
"url" => $request->url,
- "resource" => $tag->as_array(),
+ "entity" => $tag->as_array(),
"relationships" => array(
"items" => array(
"url" => rest::url("tag_items", $tag),