summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-07 21:08:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-07 21:08:39 +0000
commit0c6bc5443aa6c8f3e4becccb89fc0f135b4c64c8 (patch)
tree55f13e752e9061c1800cce510a52fc78b13282ca /config
parentd7ce7307dca551759ffa972015875f8ebe476927 (diff)
downloadgitlab-ce-0c6bc5443aa6c8f3e4becccb89fc0f135b4c64c8.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 82f998f185c..24e60be21de 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -195,9 +195,8 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
- resource :cycle_analytics, only: [:show]
-
- namespace :cycle_analytics do
+ resource :cycle_analytics, only: :show, path: 'value_stream_analytics'
+ scope module: :cycle_analytics, as: 'cycle_analytics', path: 'value_stream_analytics' do
scope :events, controller: 'events' do
get :issue
get :plan
@@ -208,6 +207,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get :production
end
end
+ get '/cycle_analytics', to: redirect('%{namespace_id}/%{project_id}/-/value_stream_analytics')
concerns :clusterable