diff --git a/awx/ui/client/src/inventories-hosts/inventories/related/groups/list/groups-list.route.js b/awx/ui/client/src/inventories-hosts/inventories/related/groups/list/groups-list.route.js index 39dac7cca9..c16e9ba2a1 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/related/groups/list/groups-list.route.js +++ b/awx/ui/client/src/inventories-hosts/inventories/related/groups/list/groups-list.route.js @@ -54,7 +54,7 @@ export default { } else { //reaches here if the user is on the root level group - list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/root_groups'; + list.basePath = GetBasePath('inventory') + $stateParams.inventory_id + '/groups'; } let html = generateList.build({ diff --git a/awx/ui/client/src/inventories-hosts/shared/inventories.service.js b/awx/ui/client/src/inventories-hosts/shared/inventories.service.js index 3cd069c4c2..b6dab8728a 100644 --- a/awx/ui/client/src/inventories-hosts/shared/inventories.service.js +++ b/awx/ui/client/src/inventories-hosts/shared/inventories.service.js @@ -52,8 +52,8 @@ var url = GetBasePath('groups') + id + '/children'; return url; }, - rootGroupsUrl: function(id){ - var url = GetBasePath('inventory') + id+ '/root_groups'; + groupsUrl: function(id){ + var url = GetBasePath('inventory') + id+ '/groups'; return url; }, inventorySourcesOptions: function(inventoryId) {