summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 70bdb1d5beb..da10c5609f6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -765,9 +765,10 @@ Rails.application.routes.draw do
resources :artifacts, only: [] do
collection do
- get :search, path: ':ref_name/*path',
- format: false,
- constraints: { ref_name: /.+/ } # could have /
+ get :latest_succeeded,
+ path: ':ref_name/*path',
+ format: false,
+ constraints: { ref_name: /.+/ } # could have /
end
end
end