From 2c80a1c0de07877e6e2bf7ab20de2d4f43a0d97c Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Thu, 6 Dec 2018 18:08:49 +0000 Subject: Introduce Knative Serverless Tab --- config/routes/project.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/routes/project.rb b/config/routes/project.rb index 3f1ad90dfca..152d933c318 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -245,6 +245,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do end end + namespace :serverless do + resources :functions, only: [:index] + end + scope '-' do get 'archive/*id', constraints: { format: Gitlab::PathRegex.archive_formats_regex, id: /.+?/ }, to: 'repositories#archive', as: 'archive' -- cgit v1.2.3