summaryrefslogtreecommitdiff
path: root/modules/tag/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-27 05:37:20 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-27 05:37:20 +0000
commit72d16756b169e1f751470670eececf76e88b2bd7 (patch)
tree7e49f000e23a7ae54c69d081f264bc378903a0d3 /modules/tag/controllers
parent5447b8321080afd09387d837a4acfa9c90ddfa16 (diff)
Refactor cloud generation into a helper so that we can call it from
Tags_Controller::_index(). This enables our Ajax code to reload the tags block after we submit a new tag, so update the JS to do that properly.
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r--modules/tag/controllers/tags.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tag/controllers/tags.php b/modules/tag/controllers/tags.php
index 9a5422cf..bf396a5b 100644
--- a/modules/tag/controllers/tags.php
+++ b/modules/tag/controllers/tags.php
@@ -43,7 +43,8 @@ class Tags_Controller extends REST_Controller {
}
public function _index() {
- throw new Exception("@todo Tag_Controller::_index NOT IMPLEMENTED");
+ // @todo: represent this in different formats
+ print tag::cloud(30);
}
public function _form_add($item_id) {