Users can now be added from the Users tab.

This commit is contained in:
chouseknecht
2013-06-05 15:02:27 -04:00
parent 69a6fc75fb
commit 135d4db94b
8 changed files with 88 additions and 36 deletions

View File

@@ -62,7 +62,7 @@ function InventoriesList ($scope, $rootScope, $location, $log, $routeParams, Res
}
scope.lookupOrganization = function(organization_id) {
Rest.setUrl('/api/v1/organization/' + organization_id + '/');
Rest.setUrl(GetBasePath('organizations') + organization_id + '/');
Rest.get()
.success( function(data, status, headers, config) {
return data.name;