summaryrefslogtreecommitdiff
path: root/config/routes/pipelines.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/pipelines.rb')
-rw-r--r--config/routes/pipelines.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/config/routes/pipelines.rb b/config/routes/pipelines.rb
index cc3c3400526..c7f9bf8791c 100644
--- a/config/routes/pipelines.rb
+++ b/config/routes/pipelines.rb
@@ -22,9 +22,13 @@ resources :pipelines, only: [:index, :new, :create, :show, :destroy] do
get :test_reports_count
end
- member do
- resources :stages, only: [], param: :name do
- post :play_manual
+ resources :stages, only: [], param: :name, controller: 'pipelines/stages' do
+ post :play_manual
+ end
+
+ resources :tests, only: [:show], param: :suite_name, controller: 'pipelines/tests' do
+ collection do
+ get :summary
end
end
end