From 72d16756b169e1f751470670eececf76e88b2bd7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 27 Nov 2008 05:37:20 +0000 Subject: 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. --- modules/tag/controllers/tags.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/tag/controllers') 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) { -- cgit v1.2.3