debian-mirror-gitlab/app/controllers/projects/confluences_controller.rb

17 lines
282 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
class Projects::ConfluencesController < Projects::ApplicationController
before_action :ensure_confluence
2021-01-03 14:25:43 +05:30
feature_category :integrations
2020-07-28 23:09:34 +05:30
def show
end
private
def ensure_confluence
render_404 unless project.has_confluence?
end
end