From c9ac6841c42108a3266ce0fc015fa72d6c3e8b4f Mon Sep 17 00:00:00 2001 From: Aaron Williamson Date: Tue, 18 Sep 2012 11:16:26 -0400 Subject: [PATCH] Fixed post-collect redirect to always take user to image collected. --- mediagoblin/user_pages/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py index 187bba96..41610336 100644 --- a/mediagoblin/user_pages/views.py +++ b/mediagoblin/user_pages/views.py @@ -248,7 +248,7 @@ def media_collect(request, media): request, messages.SUCCESS, _('"%s" added to collection "%s"' % (media.title, collection.title))) return redirect(request, "mediagoblin.user_pages.media_home", - user=request.user.username, + user=media.get_uploader.username, media=media.id) else: messages.add_message( -- 2.25.1