Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hook_logs_controller.rb « projects « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3ab4c34737ddf7ed96f5567c0ccf0b6ba3ceffcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

class Projects::HookLogsController < Projects::ApplicationController
  before_action :authorize_admin_project!

  include WebHooks::HookLogActions

  layout 'project_settings'

  private

  def hook
    @hook ||= @project.hooks.find(params[:hook_id])
  end

  def after_retry_redirect_path
    edit_project_hook_path(@project, hook)
  end
end