Not sure why I missed this renaming

This commit is contained in:
Lin Jen-Shin 2016-08-18 19:30:20 +08:00
parent e8b03baf6b
commit 17d0406546
1 changed files with 1 additions and 1 deletions

View File

@ -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