diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 12:27:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 12:27:52 +0300 |
commit | 996683657578757cf42ef7478a5c3b9874b312f0 (patch) | |
tree | adbc8884ee6f1fb381ea027fa8b51f68143c9dcf /app/presenters | |
parent | 3fbe43541ef99c27a9e4ab9c545ec0eb9bb50a9e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/commit_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/commit_presenter.rb b/app/presenters/commit_presenter.rb index 2f505901901..2879326ff8a 100644 --- a/app/presenters/commit_presenter.rb +++ b/app/presenters/commit_presenter.rb @@ -26,7 +26,7 @@ class CommitPresenter < Gitlab::View::Presenter::Delegated end def tags_for_display - commit.referenced_by&.map { |tag| tag.delete_prefix(Gitlab::Git::TAG_REF_PREFIX) } + commit.referenced_by&.map { |tag_name| Gitlab::Git.ref_name(tag_name) } end def signature_html |