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:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 13:41:22 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 13:41:22 +0300
commite4d07f12b65fa8d1753a950a79c985406614c2b1 (patch)
tree40b6b55712db44475af44b6765244706b61f41c2 /app/controllers
parentd5486807ba979172e35b81a6b74243225473b69f (diff)
Test against public projects
Diffstat (limited to 'app/controllers')
-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 a8f56acc73b..0837451cc49 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -29,7 +29,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
blob = @entry.blob
conditionally_expand_blob(blob)
- if blob.external_link?
+ if blob.external_link?(build)
redirect_to blob.external_url(@project, build)
else
respond_to do |format|