2018-12-05 23:21:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
class Projects::HookLogsController < Projects::ApplicationController
|
|
|
|
before_action :authorize_admin_project!
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
include WebHooks::HookLogActions
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
layout 'project_settings'
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def hook
|
|
|
|
@hook ||= @project.hooks.find(params[:hook_id])
|
|
|
|
end
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
def after_retry_redirect_path
|
|
|
|
edit_project_hook_path(@project, hook)
|
2017-09-10 17:25:29 +05:30
|
|
|
end
|
|
|
|
end
|