fixed parameters to register_routes

redundant names were being used in the first parameter of the tuples.
remotes/1726741609412457634/master
Andrew Engelbrecht 8 years ago
parent e24f40c195
commit 86b9f47d29
  1. 4
      mediagoblin_libreplanet/__init__.py

@ -76,9 +76,9 @@ register_routes([('all-videos', '/videos',
'mediagoblin.plugins.libreplanet.views:video_listing'), 'mediagoblin.plugins.libreplanet.views:video_listing'),
('all-photos', '/photos', ('all-photos', '/photos',
'mediagoblin.plugins.libreplanet.views:image_listing'), 'mediagoblin.plugins.libreplanet.views:image_listing'),
('all-photos', '/videos/featured', ('featured-videos', '/videos/featured',
'mediagoblin.plugins.libreplanet.views:featured_video_listing'), 'mediagoblin.plugins.libreplanet.views:featured_video_listing'),
('all-photos', '/photos/featured', ('featured-photos', '/photos/featured',
'mediagoblin.plugins.libreplanet.views:featured_image_listing'), 'mediagoblin.plugins.libreplanet.views:featured_image_listing'),
('libreplanet-videos', '/videos/libreplanet', ('libreplanet-videos', '/videos/libreplanet',

Loading…
Cancel
Save