2019-12-17 10:08:15 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
|
2022-08-17 08:13:49 -04:00
|
|
|
presents ::ServiceHook
|
2019-12-17 10:08:15 -05:00
|
|
|
|
|
|
|
def logs_details_path(log)
|
2022-05-25 14:08:15 -04:00
|
|
|
project_settings_integration_hook_log_path(integration.project, integration, log)
|
2019-12-17 10:08:15 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def logs_retry_path(log)
|
2022-05-25 14:08:15 -04:00
|
|
|
retry_project_settings_integration_hook_log_path(integration.project, integration, log)
|
2019-12-17 10:08:15 -05:00
|
|
|
end
|
|
|
|
end
|