summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 32b00652bb3..203f679226e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -735,8 +735,8 @@ Rails.application.routes.draw do
resources :artifacts, only: [] do
collection do
- get :search, path: ':ref/:build_name/*path', format: false,
- constraints: { ref: /.+/ } # ref could have /
+ get :search, path: ':ref_name/:build_name/*path', format: false,
+ constraints: { ref_name: /.+/ } # ref could have /
end
end