diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-27 15:11:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-27 15:11:21 +0300 |
commit | 5471fef2360f9bcf604a026d5807a554dae243e9 (patch) | |
tree | 8b9c82036dc5da7fdf30ba3c2c5f85997ad41eaa /app/presenters/blob_presenter.rb | |
parent | b6f32e82a08a171debbb57236e8995b8d741e6a5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/blob_presenter.rb')
-rw-r--r-- | app/presenters/blob_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/blob_presenter.rb b/app/presenters/blob_presenter.rb index 6f32f4de62c..e8886f8c212 100644 --- a/app/presenters/blob_presenter.rb +++ b/app/presenters/blob_presenter.rb @@ -193,7 +193,7 @@ class BlobPresenter < Gitlab::View::Presenter::Delegated def commit_id # If `ref_type` is present the commit_id will include the ref qualifier e.g. `refs/heads/`. # We only accept/return unqualified refs so we need to remove the qualifier from the `commit_id`. - ExtractsRef.unqualify_ref(blob.commit_id, ref_type) + ExtractsRef::RefExtractor.unqualify_ref(blob.commit_id, ref_type) end def ref_qualified_path |