# HG changeset patch # User RhodeCode Admin # Date 2024-11-27 12:14:40 # Node ID 5f89ea3a1e51a26dc8ff4444be44d7dd042c24ea # Parent 0d5acb534bbd54b7e7a6047562f4e3ab28547c57 ui: changed calls for edit caches to use repo id instead of a name for safer calls to repos which paths have special characters diff --git a/rhodecode/templates/admin/repos/repo_edit_caches.mako b/rhodecode/templates/admin/repos/repo_edit_caches.mako --- a/rhodecode/templates/admin/repos/repo_edit_caches.mako +++ b/rhodecode/templates/admin/repos/repo_edit_caches.mako @@ -10,7 +10,7 @@ ${_('Cache purge can be automated by such api call. Can be called periodically in crontab etc.')}
- ${h.api_call_example(method='invalidate_cache', args={"repoid": c.rhodecode_db_repo.repo_name})} + ${h.api_call_example(method='invalidate_cache', args={"repoid": c.rhodecode_db_repo.repo_id})}