diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-22 01:10:00 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-22 01:10:00 -0800 |
commit | a445a64bcbfc5df45f255e02d3295156e199832d (patch) | |
tree | 2fe12833f3e00cc210b016588a80fd0daa845d7d /modules | |
parent | ca909a49ae16dc1d5a0d8448f84c32c7900ba06e (diff) |
Return the url of the newly created item from post().
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tag/helpers/tag_rest.php | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |