diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-16 00:02:33 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-16 00:02:33 +0400 |
commit | 37224dc9c1ee80ba9030b616e2bc87bd96919e09 (patch) | |
tree | 5291abadd8748ea47685c326df4b137d0d6a2194 /config/routes.rb | |
parent | 3a9e5a9357b6b0cac2acdefa203136c9b572e102 (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.rb | 1 |
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 |