Updating plugin paths for /videos + /photos routes

these changes were found in the libreplanet plugin directory in the gmg
installation.
master
Andrew Engelbrecht 7 years ago
parent 2c2ba02049
commit 7f8847829a
  1. 4
      mediagoblin_libreplanet/__init__.py

@ -69,9 +69,9 @@ def frontpage_view_hook():
return frontpage_view
register_routes([('all-videos', '/videos',
'mediagoblin_libreplanet.views:video_listing'),
'mediagoblin.plugins.libreplanet.views:video_listing'),
('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.

Loading…
Cancel
Save