Update comment URLs to use the media slug.

This commit is contained in:
Christopher Allan Webber 2011-12-05 08:37:20 -06:00
parent bcc9ee3205
commit 5b5b67cd5c

View File

@ -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>