13 lines
302 B
Ruby
13 lines
302 B
Ruby
# 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
|