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

web_hook_log_presenter.rb « presenters « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fca03ddb5d76aff5fa1325764b50a1db25764527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class WebHookLogPresenter < Gitlab::View::Presenter::Delegated
  presents :web_hook_log

  def details_path
    web_hook.present.logs_details_path(self)
  end

  def retry_path
    web_hook.present.logs_retry_path(self)
  end
end