added /videos/featured and /photos/featured URLs
[mediagoblin-libreplanet.git] / mediagoblin_libreplanet / __init__.py
index 7750221..1d3c760 100644 (file)
@@ -76,6 +76,10 @@ register_routes([('all-videos', '/videos',
                   'mediagoblin.plugins.libreplanet.views:video_listing'),
                  ('all-photos', '/photos',
                   'mediagoblin.plugins.libreplanet.views:image_listing')
+                 ('all-photos', '/videos/featured',
+                  'mediagoblin.plugins.libreplanet.views:featured_video_listing')
+                 ('all-photos', '/photos/featured',
+                  'mediagoblin.plugins.libreplanet.views:featured_image_listing')
              ])
 
 # This is a dict that specifies which hooks this plugin uses.