diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2017-11-15 23:56:36 +0900 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-03-06 21:28:14 +0900 |
commit | 580d8953636266e40802fd8ea525c4908ebc8b9f (patch) | |
tree | b643fc68bbb40643c8932f8b456173669a334a81 /config | |
parent | 65348cf07bafef5efc1c9665d3efdb5a1bdd7128 (diff) | |
download | gitlab-ce-580d8953636266e40802fd8ea525c4908ebc8b9f.tar.gz |
Add overview of branches and a filter for active/stale branches
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/repository.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/repository.rb b/config/routes/repository.rb index 9ffdebbcff1..eace3a615b4 100644 --- a/config/routes/repository.rb +++ b/config/routes/repository.rb @@ -49,6 +49,7 @@ scope format: false do end end + get '/branches/:state', to: 'branches#index', as: :branches_filtered, constraints: { state: /active|stale|all/ } resources :branches, only: [:index, :new, :create, :destroy] delete :merged_branches, controller: 'branches', action: :destroy_all_merged resources :tags, only: [:index, :show, :new, :create, :destroy] do |