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:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-26 11:14:53 +0300
committerMarin Jankovski <maxlazio@gmail.com>2014-12-26 11:14:53 +0300
commitb7eb0d178e2a1e951ba6e110ad703def3fb35357 (patch)
tree2f4b27fc329f5c5ab996b28365496830dbdff051 /app/controllers/projects/protected_branches_controller.rb
parent6ce3b1a31174a9f09dd34c114c7fb13d898db6ec (diff)
Add checkbox for protected branch developer can push to.
Diffstat (limited to 'app/controllers/projects/protected_branches_controller.rb')
-rw-r--r--app/controllers/projects/protected_branches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/protected_branches_controller.rb b/app/controllers/projects/protected_branches_controller.rb
index bd31b1d3c54..a0df392e424 100644
--- a/app/controllers/projects/protected_branches_controller.rb
+++ b/app/controllers/projects/protected_branches_controller.rb
@@ -27,6 +27,6 @@ class Projects::ProtectedBranchesController < Projects::ApplicationController
private
def protected_branch_params
- params.require(:protected_branch).permit(:name)
+ params.require(:protected_branch).permit(:name, :developers_can_push)
end
end