diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-07 00:08:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-07 00:08:58 +0000 |
commit | b45d30ab76e55c9e2889263c7a29de5a48d6ec56 (patch) | |
tree | b9a34518887b942af58673318c6478d144ddde2d /app/helpers/gitlab_routing_helper.rb | |
parent | 63c5b4906b330d3ad4100446d149eaf6f65e6d82 (diff) | |
download | gitlab-ce-b45d30ab76e55c9e2889263c7a29de5a48d6ec56.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/gitlab_routing_helper.rb')
-rw-r--r-- | app/helpers/gitlab_routing_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/gitlab_routing_helper.rb b/app/helpers/gitlab_routing_helper.rb index d71e6b4c004..7ae00a70671 100644 --- a/app/helpers/gitlab_routing_helper.rb +++ b/app/helpers/gitlab_routing_helper.rb @@ -70,6 +70,10 @@ module GitlabRoutingHelper project_commit_url(entity.project, entity.sha, *args) end + def release_url(entity, *args) + project_release_url(entity.project, entity, *args) + end + def preview_markdown_path(parent, *args) return group_preview_markdown_path(parent, *args) if parent.is_a?(Group) |