summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:12:05 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 12:48:17 +0100
commitbe764a3a20c7cecce2a047ddd46aff954c33b306 (patch)
tree5486e395de4ce9149666312287967336b3f4c531 /app/views/projects
parent76e578fdfa1d9f52ae4d49d389089f67046f1a3e (diff)
downloadgitlab-ce-be764a3a20c7cecce2a047ddd46aff954c33b306.tar.gz
Minor improvements in build arfifacts browserci/view-build-artifacts
Added also a `Gitlab::Ci::Build::Artifacts::Metadata::ParserError` exception class.
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/artifacts/_tree_file.html.haml2
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 1d3d9306aa6..92c1648f726 100644
--- a/app/views/projects/artifacts/_tree_file.html.haml
+++ b/app/views/projects/artifacts/_tree_file.html.haml
@@ -6,6 +6,6 @@
%td
= number_to_human_size(file.metadata[:size], precision: 2)
%td
- = link_to file_namespace_project_build_artifacts_path(path: file.path),
+ = link_to file_namespace_project_build_artifacts_path(@project.namespace, @project, @build, path: file.path),
class: 'btn btn-xs btn-default artifact-download' do
= icon('download')