summaryrefslogtreecommitdiff
path: root/app/presenters/service_hook_presenter.rb
blob: bc20d5b1a3beaf688f158d0ea45275f206e6ca20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
  presents :service_hook

  def logs_details_path(log)
    project_service_hook_log_path(service.project, service, log)
  end

  def logs_retry_path(log)
    retry_project_service_hook_log_path(service.project, service, log)
  end
end