summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-18 19:30:20 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-08-18 19:30:20 +0800
commit17d0406546885bedf2196c61a5991092b3fbe7c0 (patch)
tree131ad3c1ef2bde035b8ebd60988ed2153ceb237f /app
parente8b03baf6b67a14c0db6dbf3a1abaa4a6a173213 (diff)
downloadgitlab-ce-17d0406546885bedf2196c61a5991092b3fbe7c0.tar.gz
Not sure why I missed this renaming
Diffstat (limited to 'app')
-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