summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-16 22:10:10 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-16 22:10:10 +0800
commitf86a507745695f3b073d6edb6029836ab115765a (patch)
tree68e3833fe640ee74be6b7c197cd614317570b129 /config
parent11f840bfa5b93fdd0687c9c4f2a5a2e7abbc17ac (diff)
downloadgitlab-ce-f86a507745695f3b073d6edb6029836ab115765a.tar.gz
Rename to latest_succeeded, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13908017
Diffstat (limited to 'config')
-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