diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-27 05:37:20 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-27 05:37:20 +0000 |
| commit | 72d16756b169e1f751470670eececf76e88b2bd7 (patch) | |
| tree | 7e49f000e23a7ae54c69d081f264bc378903a0d3 /modules/tag/controllers | |
| parent | 5447b8321080afd09387d837a4acfa9c90ddfa16 (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.php | 3 |
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) { |
