diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-18 14:30:20 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-18 14:30:20 +0300 |
commit | 17d0406546885bedf2196c61a5991092b3fbe7c0 (patch) | |
tree | 131ad3c1ef2bde035b8ebd60988ed2153ceb237f /app/controllers/projects/artifacts_controller.rb | |
parent | e8b03baf6b67a14c0db6dbf3a1abaa4a6a173213 (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.rb | 2 |
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 |