From 3ff484a26377617b2e3303feebad23753470b7b7 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 8 Jul 2014 16:02:24 -0400 Subject: [PATCH] Source app API URL minor but important tweak --- mayan/apps/sources/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mayan/apps/sources/urls.py b/mayan/apps/sources/urls.py index 38dc02b561..a15c01091c 100644 --- a/mayan/apps/sources/urls.py +++ b/mayan/apps/sources/urls.py @@ -39,10 +39,10 @@ urlpatterns = patterns('sources.views', #version_0_api_services = [ - url(r'^api/staging_folder/file/(?P[0-9]+)/(?P.+)/image/$', APIStagingSourceFileImageView.as_view(), name='stagingfolderfile-image-view'), - url(r'^api/staging_folder/file/(?P[0-9]+)/(?P.+)/$', APIStagingSourceFileView.as_view(), name='stagingfolderfile-detail'), - url(r'^api/staging_folder/$', APIStagingSourceListView.as_view(), name='stagingfolder-list'), - url(r'^api/staging_folder/(?P[0-9]+)/$', APIStagingSourceView.as_view(), name='stagingfolder-detail') + url(r'^api/staging_folders/file/(?P[0-9]+)/(?P.+)/image/$', APIStagingSourceFileImageView.as_view(), name='stagingfolderfile-image-view'), + url(r'^api/staging_folders/file/(?P[0-9]+)/(?P.+)/$', APIStagingSourceFileView.as_view(), name='stagingfolderfile-detail'), + url(r'^api/staging_folders/$', APIStagingSourceListView.as_view(), name='stagingfolder-list'), + url(r'^api/staging_folders/(?P[0-9]+)/$', APIStagingSourceView.as_view(), name='stagingfolder-detail') #] )