fix: 404 on new groups with spaces

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 7823144bd9
commit b19f0a686c

@ -45,7 +45,7 @@ define('admin/manage/groups', ['translator', 'benchpress'], function (translator
createModalError.addClass('hide');
createGroupName.val('');
createModal.on('hidden.bs.modal', function () {
ajaxify.go('admin/manage/groups/' + groupData.slug);
ajaxify.go('admin/manage/groups/' + groupData.name);
});
createModal.modal('hide');
}

Loading…
Cancel
Save