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
path: root/config
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-12-06 21:08:49 +0300
committerMike Greiling <mike@pixelcog.com>2018-12-06 21:08:49 +0300
commit2c80a1c0de07877e6e2bf7ab20de2d4f43a0d97c (patch)
treeafa7f5f54e2491e0c08168b6f4ce47511da3012b /config
parente80f89337b4be31c5531448861cedb556d02c01e (diff)
Introduce Knative Serverless Tab
Diffstat (limited to 'config')
-rw-r--r--config/routes/project.rb4
1 files changed, 4 insertions, 0 deletions
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'