From ad494bbb40adab78dfd2501d6d6e4b83aac03911 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Wed, 19 Apr 2017 10:04:17 -0400 Subject: [PATCH] Navigate the user to the inventory edit form after creating basic inventory --- awx/ui/client/src/inventories/add/inventory-add.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/client/src/inventories/add/inventory-add.controller.js b/awx/ui/client/src/inventories/add/inventory-add.controller.js index 02e608af6c..dd965bd362 100644 --- a/awx/ui/client/src/inventories/add/inventory-add.controller.js +++ b/awx/ui/client/src/inventories/add/inventory-add.controller.js @@ -77,7 +77,7 @@ function InventoriesAdd($scope, $location, .success(function(data) { var inventory_id = data.id; Wait('stop'); - $location.path('/inventories/' + inventory_id); + $state.go('inventories.edit', {inventory_id: inventory_id}); }) .error(function(data, status) { ProcessErrors($scope, data, status, form, {