summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-26 20:40:04 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-26 20:40:04 +0000
commit9f37aaa1c29b9b17bee514597ec316130d7531c7 (patch)
treef640759a93a683792310de529cf3a57c93d9ddfd /modules
parentaa19a79e067c95f3e1c8b3e35fc051b4fa0eddbf (diff)
Move Tag_Controller -> Tags_Controller to fit our REST pattern.
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/controllers/tags.php (renamed from modules/tag/controllers/tag.php)2
-rw-r--r--modules/tag/views/tag_block.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/controllers/tag.php b/modules/tag/controllers/tags.php
index e16b4fbf..6011179a 100644
--- a/modules/tag/controllers/tag.php
+++ b/modules/tag/controllers/tags.php
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class Tag_Controller extends REST_Controller {
+class Tags_Controller extends REST_Controller {
protected $resource_type = "tag";
/**
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php
index 3e45bdba..ba2978c7 100644
--- a/modules/tag/views/tag_block.html.php
+++ b/modules/tag/views/tag_block.html.php
@@ -3,7 +3,7 @@
<? foreach ($tags as $tag): ?>
<li class="size<?=(int)(($tag->count / $max_count) * 7) ?>">
<span><?= $tag->count ?> photos are tagged with </span>
- <a href="<?=url::site("tag/$tag->id") ?>"><?= $tag->name ?></a>
+ <a href="<?=url::site("tags/$tag->id") ?>"><?= $tag->name ?></a>
</li>
<? endforeach ?>
</ul>