Fixed collection sidebar for media_home to user collection.url_for_self instead of incorrectly getting the session user
This commit is contained in:
committed by
Joar Wandborg
parent
cdb35b9717
commit
256f816f50
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user