blob: 6c8313d08055ce73161f01d68833272a97d2251f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module Projects
module Integrations
class ShimosController < Projects::ApplicationController
feature_category :integrations
before_action :ensure_renderable
def show; end
private
def ensure_renderable
render_404 unless project.has_shimo? && project.shimo_integration&.render?
end
end
end
end
|