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

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

class ProjectHookPresenter < Gitlab::View::Presenter::Delegated
  presents :project_hook

  def logs_details_path(log)
    project_hook_hook_log_path(project, self, log)
  end

  def logs_retry_path(log)
    retry_project_hook_hook_log_path(project, self, log)
  end
end