Updating plugin paths for /videos + /photos routes
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 6 Mar 2017 18:31:06 +0000 (13:31 -0500)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 6 Mar 2017 18:31:06 +0000 (13:31 -0500)
these changes were found in the libreplanet plugin directory in the gmg
installation.

mediagoblin_libreplanet/__init__.py

index b4eb7ce..fa9c112 100644 (file)
@@ -69,9 +69,9 @@ def frontpage_view_hook():
     return frontpage_view
 
 register_routes([('all-videos', '/videos',
     return frontpage_view
 
 register_routes([('all-videos', '/videos',
-                  'mediagoblin_libreplanet.views:video_listing'),
+                  'mediagoblin.plugins.libreplanet.views:video_listing'),
                  ('all-photos', '/photos',
                  ('all-photos', '/photos',
-                  'mediagoblin_libreplanet.views:image_listing')
+                  'mediagoblin.plugins.libreplanet.views:image_listing')
              ])
 
 # This is a dict that specifies which hooks this plugin uses.
              ])
 
 # This is a dict that specifies which hooks this plugin uses.