Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/settings/branch_rules_controller.rb')
-rw-r--r--app/controllers/projects/settings/branch_rules_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/projects/settings/branch_rules_controller.rb b/app/controllers/projects/settings/branch_rules_controller.rb
index 0a415b60124..68ef7f49cc3 100644
--- a/app/controllers/projects/settings/branch_rules_controller.rb
+++ b/app/controllers/projects/settings/branch_rules_controller.rb
@@ -7,9 +7,7 @@ module Projects
feature_category :source_code_management
- def index
- render_404 unless Feature.enabled?(:branch_rules, project)
- end
+ def index; end
end
end
end