Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/project.rb')
-rw-r--r--config/routes/project.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 43b0e2a5568..d62e2f1b2f2 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -267,6 +267,15 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
get '/cycle_analytics', to: redirect('%{namespace_id}/%{project_id}/-/value_stream_analytics')
+ namespace :analytics do
+ resource :cycle_analytics, only: :show, path: 'value_stream_analytics'
+ scope module: :cycle_analytics, as: 'cycle_analytics', path: 'value_stream_analytics' do
+ resources :value_streams, only: [:index] do
+ resources :stages, only: [:index]
+ end
+ end
+ end
+
concerns :clusterable
namespace :serverless do