API & AngularJS: Updating API Routes - API_Dev Merge

and Service Update
This commit is contained in:
Sagi Dayan 2015-06-15 16:51:13 +03:00
parent 1c05b8aea1
commit 1ec45d107c
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ service.factory('apiService', ['$http', function($http) {
return $http(req);
},
getAllCampuses: function(token){
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/" + token;
var url = (DEBUG ? "http://localhost:8080" : "http://se-hub.appspot.com") + "/api/campuses/getAll/" + token;
req = {
method : "GET",
url : url