debian-mirror-gitlab/app/controllers/admin/hook_logs_controller.rb

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

18 lines
310 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2022-10-11 01:57:18 +05:30
module Admin
class HookLogsController < Admin::ApplicationController
include WebHooks::HookLogActions
2017-09-10 17:25:29 +05:30
2022-10-11 01:57:18 +05:30
private
2017-09-10 17:25:29 +05:30
2022-10-11 01:57:18 +05:30
def hook
@hook ||= SystemHook.find(params[:hook_id])
end
2017-09-10 17:25:29 +05:30
2022-10-11 01:57:18 +05:30
def after_retry_redirect_path
edit_admin_hook_path(hook)
end
2017-09-10 17:25:29 +05:30
end
end