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

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

class Projects::ConfluencesController < Projects::ApplicationController
  before_action :ensure_confluence

  feature_category :integrations

  def show
  end

  private

  def ensure_confluence
    render_404 unless project.has_confluence?
  end
end