debian-mirror-gitlab/app/controllers/projects/confluences_controller.rb
2021-01-30 21:13:32 +05:30

16 lines
282 B
Ruby

# 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