debian-mirror-gitlab/app/presenters/service_hook_presenter.rb

14 lines
372 B
Ruby
Raw Normal View History

2020-01-01 13:55:28 +05:30
# frozen_string_literal: true
class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
2022-08-27 11:52:29 +05:30
presents ::ServiceHook
2020-01-01 13:55:28 +05:30
def logs_details_path(log)
2022-07-23 23:45:48 +05:30
project_settings_integration_hook_log_path(integration.project, integration, log)
2020-01-01 13:55:28 +05:30
end
def logs_retry_path(log)
2022-07-23 23:45:48 +05:30
retry_project_settings_integration_hook_log_path(integration.project, integration, log)
2020-01-01 13:55:28 +05:30
end
end