From a445a64bcbfc5df45f255e02d3295156e199832d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 22 Jan 2010 01:10:00 -0800 Subject: Return the url of the newly created item from post(). --- modules/tag/helpers/tag_rest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/tag/helpers') diff --git a/modules/tag/helpers/tag_rest.php b/modules/tag/helpers/tag_rest.php index d68cb73d..5feeb756 100644 --- a/modules/tag/helpers/tag_rest.php +++ b/modules/tag/helpers/tag_rest.php @@ -44,6 +44,7 @@ class tag_rest_Core { access::required("edit", $item); tag::add($item, $tag->name); + return array("url" => rest::url("tag_item", $tag, $item)); } static function put($request) { -- cgit v1.2.3