Fixed collection sidebar for media_home to user collection.url_for_self instead of incorrectly getting the session user

This commit is contained in:
Aaron Williamson
2012-09-02 19:19:41 -04:00
committed by Joar Wandborg
parent cdb35b9717
commit 256f816f50
2 changed files with 4 additions and 10 deletions

View File

@@ -183,7 +183,7 @@ class CollectionMixin(object):
creator = self.get_creator
return urlgen(
'mediagoblin.user_pages.collections_home',
'mediagoblin.user_pages.user_collection',
user=creator.username,
collection=self.slug_or_id,
**extra_args)