diff options
author | Karlo Soriano <dev+karlo@aelogica.com> | 2013-05-09 13:00:56 +0800 |
---|---|---|
committer | karlo57 <karlo.karlo.karlo@gmail.com> | 2013-06-05 16:51:48 +0800 |
commit | 71d67e6557acb1ce3beeec2c2c6deb35015bd8bb (patch) | |
tree | c8e23f80ee62359d8db8574056ea69ac70eb4406 /config | |
parent | b9d989dc056a2a2b9316ff9aa06b57c736426871 (diff) | |
download | gitlab-ce-71d67e6557acb1ce3beeec2c2c6deb35015bd8bb.tar.gz |
Contributors graphs feature for GitLab
Created tests and refactored some code along the way
Added stat graph util spec, refactored code
finsihed up tests and refactors
finsihed up tests and refactors
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index c802c60382d..0a1e537412c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -190,6 +190,7 @@ Gitlab::Application.routes.draw do resources :compare, only: [:index, :create] resources :blame, only: [:show], constraints: {id: /.+/} resources :graph, only: [:show], constraints: {id: /(?:[^.]|\.(?!json$))+/, format: /json/} + resources :stat_graph, only: [:show], constraints: {id: /(?:[^.]|\.(?!json$))+/, format: /json/} match "/compare/:from...:to" => "compare#show", as: "compare", via: [:get, :post], constraints: {from: /.+/, to: /.+/} scope module: :projects do |