fixed parameters to register_routes
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 6 Mar 2017 21:58:49 +0000 (16:58 -0500)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 6 Mar 2017 21:58:49 +0000 (16:58 -0500)
redundant names were being used in the first parameter of the tuples.

mediagoblin_libreplanet/__init__.py

index 414297d8a1a087af789bee93ba8a0417abc78fba..e723f19df2bbbed00e41a57eebe8be95c154bea7 100644 (file)
@@ -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',