blob: 0a415b60124f9da16f35021da1b4c25190dc7e05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
module Projects
module Settings
class BranchRulesController < Projects::ApplicationController
before_action :authorize_admin_project!
feature_category :source_code_management
def index
render_404 unless Feature.enabled?(:branch_rules, project)
end
end
end
end
|