diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-05 17:59:58 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-05 17:59:58 +0300 |
commit | 88c741dde062e320ad007a2c5ccb4e7bdc6cdacf (patch) | |
tree | 71f4d4eafbcfde57674c74e13c75f736d248ad57 /config/routes.rb | |
parent | bb5e50e0f78ec0dc68d637a43b6ea9889ef1a10d (diff) | |
download | gitlab-ce-88c741dde062e320ad007a2c5ccb4e7bdc6cdacf.tar.gz |
Refactor recent branches page
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index d303a57d304..c83e18ce4f0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -225,8 +225,13 @@ Gitlab::Application.routes.draw do end end + resources :branches, only: [:index, :new, :create, :destroy] do + collection do + get :recent + end + end + resources :tags, only: [:index, :new, :create, :destroy] - resources :branches, only: [:index, :new, :create, :destroy] resources :protected_branches, only: [:index, :create, :destroy] resources :refs, only: [] do |