From: Andrew Engelbrecht Date: Mon, 6 Mar 2017 21:58:49 +0000 (-0500) Subject: fixed parameters to register_routes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=86b9f47d299f1780d61cd6746a771a6a4b29bb39;p=mediagoblin-libreplanet.git fixed parameters to register_routes redundant names were being used in the first parameter of the tuples. --- diff --git a/mediagoblin_libreplanet/__init__.py b/mediagoblin_libreplanet/__init__.py index 414297d..e723f19 100644 --- a/mediagoblin_libreplanet/__init__.py +++ b/mediagoblin_libreplanet/__init__.py @@ -76,9 +76,9 @@ register_routes([('all-videos', '/videos', 'mediagoblin.plugins.libreplanet.views:video_listing'), ('all-photos', '/photos', 'mediagoblin.plugins.libreplanet.views:image_listing'), - ('all-photos', '/videos/featured', + ('featured-videos', '/videos/featured', 'mediagoblin.plugins.libreplanet.views:featured_video_listing'), - ('all-photos', '/photos/featured', + ('featured-photos', '/photos/featured', 'mediagoblin.plugins.libreplanet.views:featured_image_listing'), ('libreplanet-videos', '/videos/libreplanet',