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-18 14:30:20 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-18 14:30:20 +0300
commit17d0406546885bedf2196c61a5991092b3fbe7c0 (patch)
tree131ad3c1ef2bde035b8ebd60988ed2153ceb237f /app/controllers/projects/artifacts_controller.rb
parente8b03baf6b67a14c0db6dbf3a1abaa4a6a173213 (diff)
Not sure why I missed this renaming
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 16ab7ec409d..60e432d68d8 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -37,7 +37,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
def latest_succeeded
target_path = artifacts_action_path(params[:path], project, build)
- if target_url
+ if target_path
redirect_to(target_path)
else
render_404