From 14fb5a922285d71fea67de59164ee4bb81ee3486 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 23 Jul 2020 15:09:28 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/presenters/user_presenter.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/presenters/user_presenter.rb') diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index 14ef53e9ec8..2a4d6a070f8 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -6,4 +6,8 @@ class UserPresenter < Gitlab::View::Presenter::Delegated def web_url Gitlab::Routing.url_helpers.user_url(user) end + + def web_path + Gitlab::Routing.url_helpers.user_path(user) + end end -- cgit v1.2.1