summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-19 01:35:59 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-19 01:35:59 -0800
commit549b88643acd571367a3b21f6dce6d42af7e7edf (patch)
tree00e21e0a978f44e7fc9f469d9ead611af8636e2d
parentc590fed132b07647c38b1d5b4a93ffe30b6ac4bf (diff)
Fix a typo "tags" -> "tag"
-rw-r--r--modules/tag/helpers/tags_rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tags_rest.php b/modules/tag/helpers/tags_rest.php
index dd23e97f..41317ecd 100644
--- a/modules/tag/helpers/tags_rest.php
+++ b/modules/tag/helpers/tags_rest.php
@@ -21,7 +21,7 @@ class tags_rest_Core {
static function get($request) {
$tags = array();
foreach (ORM::factory("tag")->find_all() as $tag) {
- $tags[$tag->name] = rest::url("tags", $tag);
+ $tags[$tag->name] = rest::url("tag", $tag);
}
return array("members" => $tags);
}