diff --git a/mayan/apps/documents/registry.py b/mayan/apps/documents/registry.py index 1d870f4b2e..bd75910c4a 100644 --- a/mayan/apps/documents/registry.py +++ b/mayan/apps/documents/registry.py @@ -17,6 +17,6 @@ bootstrap_models = [ cleanup_functions = [cleanup] version_0_api_services = [ - {'urlpattern': url(r'^document/(?P[0-9]+)/$', APIReadOnlyInstanceModelView.as_view(), name='document-detail'), 'description': 'Show document data', 'url': 'document/'}, - {'urlpattern': url(r'^document/(?P[0-9]+)/image/$', APIDocumentImageView.as_view(), name='document-image'), 'description': 'Return a base64 image of the document', 'url': 'document//image/?page&zoom&rotate'}, + {'urlpattern': url(r'^document/(?P[0-9]+)/$', APIReadOnlyInstanceModelView.as_view(), name='document-detail'), 'description': 'Show document data', 'url': 'document/'}, + {'urlpattern': url(r'^document/(?P[0-9]+)/image/$', APIDocumentImageView.as_view(), name='document-image'), 'description': 'Return a base64 image of the document', 'url': 'document//image/?page=&zoom=&rotate='}, ]