debian-mirror-gitlab/app/controllers/admin/hook_logs_controller.rb
2022-10-11 01:57:18 +05:30

17 lines
310 B
Ruby

# frozen_string_literal: true
module Admin
class HookLogsController < Admin::ApplicationController
include WebHooks::HookLogActions
private
def hook
@hook ||= SystemHook.find(params[:hook_id])
end
def after_retry_redirect_path
edit_admin_hook_path(hook)
end
end
end