summaryrefslogtreecommitdiff
path: root/app/controllers/projects/confluences_controller.rb
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