mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Removed extra appendage of id to the edit user url
This commit is contained in:
parent
46922e956f
commit
da5ff59081
@ -311,7 +311,7 @@ export function UsersEdit($scope, $rootScope, $location,
|
||||
$scope.formSave = function() {
|
||||
$rootScope.flashMessage = null;
|
||||
if ($scope[form.name + '_form'].$valid) {
|
||||
Rest.setUrl(defaultUrl + id + '/');
|
||||
Rest.setUrl(defaultUrl + '/');
|
||||
var data = processNewData(form.fields);
|
||||
Rest.put(data).success(function() {
|
||||
$state.go($state.current, null, { reload: true });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user