2019-12-17 10:08:15 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ProjectHookPresenter < Gitlab::View::Presenter::Delegated
|
2021-09-21 05:12:21 -04:00
|
|
|
presents ::ProjectHook, as: :project_hook
|
2019-12-17 10:08:15 -05:00
|
|
|
|
|
|
|
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
|