diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-23 03:18:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-23 03:18:11 +0300 |
commit | 6adb784bf2839a2b8a73de5602cbfe617836526c (patch) | |
tree | 164af2f582f674ef9ae06ab284cccf330e16b339 /app/presenters/gitlab | |
parent | beeaef0da5d29621b12c54724a2eb2bf981407c9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/gitlab')
-rw-r--r-- | app/presenters/gitlab/blame_presenter.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/presenters/gitlab/blame_presenter.rb b/app/presenters/gitlab/blame_presenter.rb index e9340a42e51..5dd2f3adda5 100644 --- a/app/presenters/gitlab/blame_presenter.rb +++ b/app/presenters/gitlab/blame_presenter.rb @@ -2,7 +2,6 @@ module Gitlab class BlamePresenter < Gitlab::View::Presenter::Simple - include ActionView::Helpers::UrlHelper include ActionView::Helpers::TranslationHelper include ActionView::Context include AvatarsHelper @@ -75,5 +74,13 @@ module Gitlab def project_duration @project_duration ||= age_map_duration(groups, project) end + + def link_to(*args, &block) + ActionController::Base.helpers.link_to(*args, &block) + end + + def mail_to(*args, &block) + ActionController::Base.helpers.mail_to(*args, &block) + end end end |