mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #4462 from mabashian/4180-edit-user
Removed extra appendage of id to the edit user url
This commit is contained in:
commit
0e3a66f5cb
@ -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…
Reference in New Issue
Block a user