debian-mirror-gitlab/app/controllers/projects/settings/branch_rules_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
337 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# 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