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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
391 B
Ruby
Raw Normal View History

2020-01-01 13:55:28 +05:30
# frozen_string_literal: true
class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
2021-11-18 22:05:49 +05:30
presents ::ServiceHook, as: :service_hook
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