Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/tree_entry_presenter.rb')
-rw-r--r--app/presenters/tree_entry_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/tree_entry_presenter.rb b/app/presenters/tree_entry_presenter.rb
index 3f4a9f13c36..674fc3ee322 100644
--- a/app/presenters/tree_entry_presenter.rb
+++ b/app/presenters/tree_entry_presenter.rb
@@ -19,7 +19,7 @@ class TreeEntryPresenter < Gitlab::View::Presenter::Delegated
# 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`.
- commit_id = ExtractsRef.unqualify_ref(tree.commit_id, ref_type)
+ commit_id = ExtractsRef::RefExtractor.unqualify_ref(tree.commit_id, ref_type)
File.join(commit_id, tree.path)
end