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.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 09b212bc1a2..d62e2f1b2f2 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -129,6 +129,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
put :revoke
end
end
+
+ resource :packages_and_registries, only: [:show]
end
resources :autocomplete_sources, only: [] do
@@ -265,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