diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-08 18:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-08 18:09:24 +0300 |
commit | 833d57e60da633435d845a7867e46e6092c46520 (patch) | |
tree | 35676d3a0da36ef28b67cadb06af474b6c8f5b85 /app/presenters/tree_entry_presenter.rb | |
parent | c52b72f5772d52e9fc85bd9f4e8b8497a6278c37 (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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/presenters/tree_entry_presenter.rb b/app/presenters/tree_entry_presenter.rb index 216b3b0d4c9..7bb10cd1455 100644 --- a/app/presenters/tree_entry_presenter.rb +++ b/app/presenters/tree_entry_presenter.rb @@ -6,8 +6,4 @@ class TreeEntryPresenter < Gitlab::View::Presenter::Delegated def web_url Gitlab::Routing.url_helpers.project_tree_url(tree.repository.project, File.join(tree.commit_id, tree.path)) end - - def web_path - Gitlab::Routing.url_helpers.project_tree_path(tree.repository.project, File.join(tree.commit_id, tree.path)) - end end |