# HG changeset patch # User Marcin Kuzminski # Date 2017-11-30 13:39:52 # Node ID 4576e184bfa6686fc3d0f53f97dabe4ed9eac90e # Parent 83caad737b0a0413cd48fafa81879ab26ee16e2c repo-model: fixed permalink generation for repositories. diff --git a/rhodecode/model/repo.py b/rhodecode/model/repo.py --- a/rhodecode/model/repo.py +++ b/rhodecode/model/repo.py @@ -161,7 +161,7 @@ class RepoModel(BaseModel): if permalink: return request.route_url( - 'repo_summary', repo_name=safe_str(repo.repo_id)) + 'repo_summary', repo_name='_{}'.format(safe_str(repo.repo_id))) else: return request.route_url( 'repo_summary', repo_name=safe_str(repo.repo_name))