diff options
author | James Lopez <james@jameslopez.es> | 2016-10-24 15:24:56 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-11-17 08:22:55 +0100 |
commit | d4726112656df24ff7721865a96237d5168466f7 (patch) | |
tree | 93a5912a8b3ecb44d10cd9fa3841a910aa5b62ba /config | |
parent | 3cdc9af78ebb71e2b91046e9dea8695aa04f6713 (diff) | |
download | gitlab-ce-d4726112656df24ff7721865a96237d5168466f7.tar.gz |
added cycle analytics events controller and started integration spec
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 9cf8465dca8..ed595c777f5 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -153,6 +153,12 @@ resources :namespaces, path: '/', constraints: { id: /[a-zA-Z.0-9_\-]+/ }, only: resource :cycle_analytics, only: [:show] + namespace :cycle_analytics do + scope :events, controller: '/projects/cycle_analytics/events' do + get :issues + end + end + resources :builds, only: [:index, :show], constraints: { id: /\d+/ } do collection do post :cancel_all |