summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-16 22:19:07 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-16 22:19:07 +0300
commit7a167cf1f74b4e74c4ba9de715585a1251165c5b (patch)
tree99ee4ea2b292d7bcfa0adecb711572daf516c44c /config/routes.rb
parenta466b2175adc6021a75f31baabbaa42b14203d44 (diff)
downloadgitlab-ce-7a167cf1f74b4e74c4ba9de715585a1251165c5b.tar.gz
Move branches list to own controller with pagination. Ability to remove branches from UI
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 30c5dea6b29..c5fdec14675 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -225,6 +225,7 @@ Gitlab::Application.routes.draw do
end
end
+ resources :branches, only: [:index, :create, :destroy]
resources :protected_branches, only: [:index, :create, :destroy]
resources :refs, only: [] do