summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 606181ff837..879cd61a02f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -787,9 +787,8 @@ Rails.application.routes.draw do
resources :artifacts, only: [] do
collection do
get :latest_succeeded,
- path: ':ref_name/*path',
- format: false,
- constraints: { ref_name: /.+/ } # could have /
+ path: '*ref_name_and_path',
+ format: false
end
end
end