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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-16 00:02:33 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-16 00:02:33 +0400
commit37224dc9c1ee80ba9030b616e2bc87bd96919e09 (patch)
tree5291abadd8748ea47685c326df4b137d0d6a2194 /config/routes.rb
parent3a9e5a9357b6b0cac2acdefa203136c9b572e102 (diff)
ProtectedBranches model, Master permission for repo\n Allow push to protected branch for masters only
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 81bf93c7f23..e7a96fb4afb 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -62,6 +62,7 @@ Gitlab::Application.routes.draw do
end
resources :deploy_keys
+ resources :protected_branches, :only => [:index, :create, :destroy]
resources :refs, :only => [], :path => "/" do
collection do