Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-16 17:10:10 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-16 17:10:10 +0300
commitf86a507745695f3b073d6edb6029836ab115765a (patch)
tree68e3833fe640ee74be6b7c197cd614317570b129 /app/controllers/projects/artifacts_controller.rb
parent11f840bfa5b93fdd0687c9c4f2a5a2e7abbc17ac (diff)
Rename to latest_succeeded, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13908017
Diffstat (limited to 'app/controllers/projects/artifacts_controller.rb')
-rw-r--r--app/controllers/projects/artifacts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/artifacts_controller.rb b/app/controllers/projects/artifacts_controller.rb
index b7c395a01a3..5cc6d643b64 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -34,7 +34,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
redirect_to namespace_project_build_path(project.namespace, project, build)
end
- def search
+ def latest_succeeded
path = params[:path]
if %w[download browse file].include?(path)