repo-model: fixed permalink generation for repositories.
This commit is contained in:
parent
7ac57bc50a
commit
21f81f4cac
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue