Update repo with several changes
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
|
||||
courses.$inject = ['$resource','$rootScope'];
|
||||
function courses($resource, $rootScope){
|
||||
return $resource('http://'+$rootScope.domainUrl+'/courses/:id', null);
|
||||
return $resource('http://'+$rootScope.domainUrl+'/professors/:id/courses', null);
|
||||
};
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user