summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>