diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-26 20:32:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-26 20:32:44 +0300 |
commit | 6d0ddf45bada832a315d7f84b3cafd1a92beff34 (patch) | |
tree | bc52485858e00fca3a5d7968978d1534f079ac48 /config | |
parent | aa46a15d2adaa018b7d8c59e6def2643fb2acab1 (diff) | |
download | gitlab-ce-6d0ddf45bada832a315d7f84b3cafd1a92beff34.tar.gz |
Raw implementation of commits stats page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index ba3cb8bd4cf..00267b13161 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -206,7 +206,11 @@ Gitlab::Application.routes.draw do resources :compare, only: [:index, :create] resources :blame, only: [:show], constraints: {id: /.+/} resources :network, only: [:show], constraints: {id: /(?:[^.]|\.(?!json$))+/, format: /json/} - resources :graphs, only: [:show], constraints: {id: /(?:[^.]|\.(?!json$))+/, format: /json/} + resources :graphs, only: [:show], constraints: {id: /(?:[^.]|\.(?!json$))+/, format: /json/} do + member do + get :commits + end + end match "/compare/:from...:to" => "compare#show", as: "compare", via: [:get, :post], constraints: {from: /.+/, to: /.+/} |