diff --git a/Apollo/api/application/config/routes.php b/Apollo/api/application/config/routes.php index 7c68d5cd..e8fec3f0 100755 --- a/Apollo/api/application/config/routes.php +++ b/Apollo/api/application/config/routes.php @@ -215,7 +215,7 @@ $route['setgrpstatus'] = 'Broadcast_Controller/setgrpstatus'; $route['getAllstudentcoursedetail'] = 'DataCorrection_Controller/getAllstudentcoursedetail'; $route['getAllfeedetail'] = 'DataCorrection_Controller/getAllfeedetail'; -$route['updateCourseDetails'] = 'DataCorrection_Controller/updateCourseDetails'; +$route['updateCourseDetailss'] = 'DataCorrection_Controller/updateCourseDetailss'; /* diff --git a/Apollo/api/application/controllers/DataCorrection_Controller.php b/Apollo/api/application/controllers/DataCorrection_Controller.php index e596b8f2..cf191812 100644 --- a/Apollo/api/application/controllers/DataCorrection_Controller.php +++ b/Apollo/api/application/controllers/DataCorrection_Controller.php @@ -140,7 +140,7 @@ class DataCorrection_Controller extends REST_Controller { } - public function updateCourseDetails_post() + public function updateCourseDetailss_post() { $search['University'] = $this->post('universityid'); $search['courseId'] = $this->post('courseId'); diff --git a/Apollo/assets/js/controllers/entrycorrectionCtrl.js b/Apollo/assets/js/controllers/entrycorrectionCtrl.js index 828f44a0..4f650f88 100644 --- a/Apollo/assets/js/controllers/entrycorrectionCtrl.js +++ b/Apollo/assets/js/controllers/entrycorrectionCtrl.js @@ -229,7 +229,7 @@ $scope.universitySearchData = ''; var updatecourse = { method: 'POST', - url: apiPoint.url + 'updateCourseDetails/', + url: apiPoint.url + 'updateCourseDetailss/', headers: { 'Content-Type': 'application/json' },