summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_rest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/tag/helpers/tag_rest.php b/modules/tag/helpers/tag_rest.php
index 4fe9bef9..4b2a4b46 100644
--- a/modules/tag/helpers/tag_rest.php
+++ b/modules/tag/helpers/tag_rest.php
@@ -31,8 +31,9 @@ class tag_rest_Core {
"url" => $request->url,
"resource" => $tag->as_array(),
"relationships" => array(
- "url" => rest::url("tag_items", $tag),
- "items" => $tag_items));
+ "items" => array(
+ "url" => rest::url("tag_items", $tag),
+ "members" => $tag_items)));
}
static function post($request) {