debian-mirror-gitlab/app/presenters/service_hook_presenter.rb
2021-06-08 01:23:25 +05:30

13 lines
346 B
Ruby

# frozen_string_literal: true
class ServiceHookPresenter < Gitlab::View::Presenter::Delegated
presents :service_hook
def logs_details_path(log)
project_service_hook_log_path(integration.project, integration, log)
end
def logs_retry_path(log)
retry_project_service_hook_log_path(integration.project, integration, log)
end
end