diff --git a/public/js/lib/dataservices/documentsDataservice.js b/public/js/lib/dataservices/documentsDataservice.js index f9e3c19..7bbc294 100644 --- a/public/js/lib/dataservices/documentsDataservice.js +++ b/public/js/lib/dataservices/documentsDataservice.js @@ -9,14 +9,14 @@ dbo.documentsDataService = { getdocuments: function ( foreignID, tablename, callback ) { - $.getJSON( 'index.php/projects/documentscontroller/getDocuments/' + foreignID + '/' + tablename ) + $.getJSON( 'index.php/projects/documentsController/getDocuments/' + foreignID + '/' + tablename ) .done( function ( data ) { callback( data ); } ); }, removeDocument:function(documentID, callback){ - $.getJSON( 'index.php/projects/documentscontroller/removeDocument/' + documentID ) + $.getJSON( 'index.php/projects/documentsController/removeDocument/' + documentID ) .done( function ( data ) { callback( data ); } );