debian-mirror-gitlab/app/presenters/web_hook_log_presenter.rb
2022-08-27 11:52:29 +05:30

13 lines
260 B
Ruby

# frozen_string_literal: true
class WebHookLogPresenter < Gitlab::View::Presenter::Delegated
presents ::WebHookLog
def details_path
web_hook.present.logs_details_path(self)
end
def retry_path
web_hook.present.logs_retry_path(self)
end
end