diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-17 11:33:24 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-17 11:38:43 +0200 |
commit | db9c03bf4426346c631a6cd366a84626ead8d6e3 (patch) | |
tree | 720941b15333030c7654043c96ae81f8e322d3d2 /config | |
parent | 40528a1326208a04f95f18d6dcc7547cdb8ae0c3 (diff) | |
download | gitlab-ce-db9c03bf4426346c631a6cd366a84626ead8d6e3.tar.gz |
Add environment stop action [ci skip]
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/project.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 2cd8c60794a..d73f76cd091 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -318,7 +318,11 @@ resources :namespaces, path: '/', constraints: { id: /[a-zA-Z.0-9_\-]+/ }, only: end end - resources :environments + resources :environments do + member do + post :stop + end + end resource :cycle_analytics, only: [:show] |