diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-06 13:12:21 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-06 16:10:17 +0200 |
commit | 697b34d786bcbc9b4fdaef485ff4837b850ca5aa (patch) | |
tree | 9b757848fe748ef7c2e23987ae6f6de2e4f67b82 /config/routes.rb | |
parent | 59058a25434ae9fc39da63f7501ddf2a31c80f7b (diff) | |
download | gitlab-ce-697b34d786bcbc9b4fdaef485ff4837b850ca5aa.tar.gz |
Render CI statuses on commit page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index a21889631ed..beebb3258d1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -485,7 +485,10 @@ Gitlab::Application.routes.draw do resource :avatar, only: [:show, :destroy] resources :commit, only: [:show], constraints: { id: /[[:alnum:]]{6,40}/ } do - get :branches, on: :member + member do + get :branches + get :ci + end end resources :compare, only: [:index, :create] |