diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-03-27 11:22:43 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-03-28 12:06:47 +0200 |
commit | 601f50c6421f135b52f737a3b59baa32e6a8f1fd (patch) | |
tree | a904ead845fadeffb41a91d48452a04cf520f33c /config/routes | |
parent | 19a4403443ff6217e6a024667f8ef1eea2f38f4a (diff) | |
download | gitlab-ce-601f50c6421f135b52f737a3b59baa32e6a8f1fd.tar.gz |
Add endpoint that returns a list of deployments that happened within last 8.hours
add index created_at
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 823e0614aeb..39144b74629 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -168,6 +168,8 @@ constraints(ProjectUrlConstrainer.new) do collection do get :folder, path: 'folders/:id' end + + resources :deployments, only: [:index] end resource :cycle_analytics, only: [:show] |