2020-01-01 13:55:28 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class WebHookLogPresenter < Gitlab::View::Presenter::Delegated
|
2021-11-18 22:05:49 +05:30
|
|
|
presents ::WebHookLog, as: :web_hook_log
|
2020-01-01 13:55:28 +05:30
|
|
|
|
|
|
|
def details_path
|
|
|
|
web_hook.present.logs_details_path(self)
|
|
|
|
end
|
|
|
|
|
|
|
|
def retry_path
|
|
|
|
web_hook.present.logs_retry_path(self)
|
|
|
|
end
|
|
|
|
end
|