diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-12-06 21:08:49 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-12-06 21:08:49 +0300 |
commit | 2c80a1c0de07877e6e2bf7ab20de2d4f43a0d97c (patch) | |
tree | afa7f5f54e2491e0c08168b6f4ce47511da3012b /config/routes | |
parent | e80f89337b4be31c5531448861cedb556d02c01e (diff) |
Introduce Knative Serverless Tab
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 4 |
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' |