Update comment URLs to use the media slug.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 5 Dec 2011 14:37:20 +0000 (08:37 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 5 Dec 2011 14:37:20 +0000 (08:37 -0600)
mediagoblin/templates/mediagoblin/user_pages/media.html

index 5039fb3029d6a8341165933a442a202cb508f11b..b811d161d6740ee83466b9f69acdf69a01cd4040 100644 (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>