added /videos/featured and /photos/featured URLs
[mediagoblin-libreplanet.git] / mediagoblin_libreplanet / __init__.py
index 775022187eff72cff0f9ac0807484d6812bd5701..1d3c760878eee60ac168734f60d69823957c4b4c 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.