diff options
Diffstat (limited to 'app/views/projects/artifacts/_tree_file.html.haml')
-rw-r--r-- | app/views/projects/artifacts/_tree_file.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/artifacts/_tree_file.html.haml b/app/views/projects/artifacts/_tree_file.html.haml index 473b9debb3a..a97ddb3c377 100644 --- a/app/views/projects/artifacts/_tree_file.html.haml +++ b/app/views/projects/artifacts/_tree_file.html.haml @@ -1,6 +1,6 @@ - blob = file.blob - path_to_file = file_project_job_artifacts_path(@project, @build, path: file.path) -- external_link = blob.external_link? && @project.public? +- external_link = blob.external_link?(@build) %tr.tree-item.js-artifact-tree-row{ data: { link: path_to_file, external_link: "#{external_link}" } } %td.tree-item-file-name |