parent
0b50928900
commit
193040a473
2 changed files with 3 additions and 3 deletions
|
@ -678,7 +678,7 @@ def redirect_to_repository(namespace_name, repo_name, tag_name):
|
|||
|
||||
if permission.can() or is_public:
|
||||
repo_path = '/'.join([namespace_name, repo_name])
|
||||
return redirect(url_for('web.repository', path=repo_path, tag=tag_name))
|
||||
return redirect(url_for('web.repository', path=repo_path, tab="tags", tag=tag_name))
|
||||
|
||||
abort(404)
|
||||
|
||||
|
|
Reference in a new issue