mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 13:05:50 +01:00
Activate a link to tags page.
This commit is contained in:
@@ -205,6 +205,16 @@ class RepositoryViewerController extends ControllerBase {
|
||||
repo.html.commit(id, new CommitInfo(revCommit), JGitUtil.getRepositoryInfo(owner, repository, servletContext), JGitUtil.getDiffs(git, id))
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays tags.
|
||||
*/
|
||||
get("/:owner/:repository/tags"){
|
||||
val owner = params("owner")
|
||||
val repository = params("repository")
|
||||
|
||||
repo.html.tags(JGitUtil.getRepositoryInfo(owner, repository, servletContext))
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides HTML of the file list.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user