summaryrefslogtreecommitdiff
path: root/modules/tag/models
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-25 09:08:33 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-25 09:08:33 -0800
commit454a96f48fbfbf5764cf586c02539e2d01b56101 (patch)
tree37f0b70e3eada21ec109ea14da9d23a581c91955 /modules/tag/models
parent4c3b9e363ab1501bf3169d92f5606abf464c2d5e (diff)
Refactor the tags to remove the REST_Controller. Partial fix for ticket #917
Diffstat (limited to 'modules/tag/models')
-rw-r--r--modules/tag/models/tag.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php
index 49512daa..be020f5f 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -110,7 +110,7 @@ class Tag_Model extends ORM {
* @param string $query the query string (eg "page=3")
*/
public function url($query=null) {
- $url = url::site("tags/$this->id");
+ $url = url::site("tags/show/$this->id");
if ($query) {
$url .= "?$query";
}