diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-21 12:12:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-21 12:12:21 +0300 |
commit | 63a014fe28a4d5cbcc4ac2e89abcc6ab40c0df12 (patch) | |
tree | f3088c179faaca35048ecdb10c0c73bd43a9c3ff /app/presenters/tree_entry_presenter.rb | |
parent | c84d80849d0ce96d4464a8d60e519e4bfe044185 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/tree_entry_presenter.rb')
-rw-r--r-- | app/presenters/tree_entry_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/tree_entry_presenter.rb b/app/presenters/tree_entry_presenter.rb index 216b3b0d4c9..0b313d81360 100644 --- a/app/presenters/tree_entry_presenter.rb +++ b/app/presenters/tree_entry_presenter.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class TreeEntryPresenter < Gitlab::View::Presenter::Delegated - presents :tree + presents nil, as: :tree def web_url Gitlab::Routing.url_helpers.project_tree_url(tree.repository.project, File.join(tree.commit_id, tree.path)) |