diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-10-03 12:34:24 +0200 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-10-03 10:34:34 -0500 |
commit | ff980ab319d9cb4874cbdf6693dd3afd8d04a99e (patch) | |
tree | 4032b54991a31246ccb54f090086c1fab9fdac74 /app/views | |
parent | 405e7a27ec787485b91c0a8da5e17f3c75297927 (diff) | |
download | gitlab-ce-ff980ab319d9cb4874cbdf6693dd3afd8d04a99e.tar.gz |
Redirect to pages daemon
Conflicts:
app/views/projects/artifacts/_tree_file.html.haml
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/artifacts/_tree_file.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/artifacts/_tree_file.html.haml b/app/views/projects/artifacts/_tree_file.html.haml index 10e238b6ba1..0319fb0af65 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 -- is_external_link = external_url?(blob) -- path_to_file = link_to_artifact(@project, @build, file) +- is_external_link = blob.external_link? +- path_to_file = file_project_job_artifacts_path(@project, @build, path: file.path) %tr.tree-item.js-artifact-tree-row{ data: { link: path_to_file, external_link: "#{is_external_link}" } } %td.tree-item-file-name |