diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-23 12:13:14 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-23 12:13:14 -0800 |
commit | a60969401852ddda878bd2a3444d6378899d4dcc (patch) | |
tree | bdb4f90ae4864ed72a0acb6fc1705c18eecde936 /modules/tag/helpers | |
parent | 4960061b562a0d5adafd767af7856d1a80a549a6 (diff) |
Update tests for recent REST changes.
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r-- | modules/tag/helpers/tag_rest.php | 5 |
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) { |