aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-12-05 08:37:20 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-12-05 08:37:20 -0600
commit5b5b67cd5c82e743f7c656616c92841fae31b36f (patch)
treebbeed7b5b319dc4d577c3ea93632203936ae918b
parentbcc9ee3205dfc6bc2b5e5dacb09de89121eb3782 (diff)
downloadmediagoblin-5b5b67cd5c82e743f7c656616c92841fae31b36f.tar.lz
mediagoblin-5b5b67cd5c82e743f7c656616c92841fae31b36f.tar.xz
mediagoblin-5b5b67cd5c82e743f7c656616c92841fae31b36f.zip
Update comment URLs to use the media slug.
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/media.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 5039fb30..b811d161 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -86,7 +86,7 @@
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
comment = comment._id,
user = media.get_uploader().username,
- media = media._id) }}#comment">
+ media = media.slug) }}#comment">
{{ comment.created.strftime("%I:%M%p %Y-%m-%d") }}
</a>
</div>