Skip to content
Snippets Groups Projects
Commit b14d40f0 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Handle branches with / in the name

parent f601ec54
No related branches found
No related tags found
1 merge request!5142Add a download buttons for Build Artifacts
Pipeline #
Loading
@@ -735,7 +735,8 @@ Rails.application.routes.draw do
Loading
@@ -735,7 +735,8 @@ Rails.application.routes.draw do
   
resources :artifacts, only: [] do resources :artifacts, only: [] do
collection do collection do
get :search, path: ':ref/:build_name(/*path)', format: false get :search, path: ':ref/:build_name/*path', format: false,
constraints: { ref: %r{.+(?=/)} } # ref could have /
end end
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment