# HG changeset patch # User Andrii Verbytskyi # Date 2024-09-30 21:45:29 # Node ID 80a291fbef8bb8313f1eb29b5ccaf7f8052658ca # Parent ec540a351700cd5415ef5acb6a3101aa9116b7db fix: fix ajax request route to update client whitelist config diff --git a/rhodecode/apps/admin/__init__.py b/rhodecode/apps/admin/__init__.py --- a/rhodecode/apps/admin/__init__.py +++ b/rhodecode/apps/admin/__init__.py @@ -67,7 +67,7 @@ def admin_routes(config): config.add_route( name='admin_security_modify_allowed_vcs_client_versions', - pattern='/security/modify/allowed_vcs_client_versions') + pattern=ADMIN_PREFIX + '/security/modify/allowed_vcs_client_versions') config.add_view( AdminSecurityView, attr='vcs_whitelisted_client_versions_edit',