From 0662720da34e55c374a3e84a72e65fb7e362c3a2 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Thu, 15 Dec 2016 17:44:20 -0500 Subject: [PATCH] Set the url before attempting to update the team --- awx/ui/client/src/controllers/Teams.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/client/src/controllers/Teams.js b/awx/ui/client/src/controllers/Teams.js index 0e3a47d855..464a10ee10 100644 --- a/awx/ui/client/src/controllers/Teams.js +++ b/awx/ui/client/src/controllers/Teams.js @@ -217,6 +217,7 @@ export function TeamsEdit($scope, $rootScope, $stateParams, $rootScope.flashMessage = null; if ($scope[form.name + '_form'].$valid) { var data = processNewData(form.fields); + Rest.setUrl(defaultUrl); Rest.put(data).success(function() { $state.go($state.current, null, { reload: true }); })