From 94cf75900181f1d73840f4306ee1a1a157800744 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 11 Jan 2016 11:07:41 +0100 Subject: [PATCH] Attach download action to artifacts file in ZIP archive --- app/views/projects/artifacts/_tree_file.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/projects/artifacts/_tree_file.html.haml b/app/views/projects/artifacts/_tree_file.html.haml index 11ced45fe14..881a844a02d 100644 --- a/app/views/projects/artifacts/_tree_file.html.haml +++ b/app/views/projects/artifacts/_tree_file.html.haml @@ -6,5 +6,6 @@ %td = number_to_human_size(file.metadata[:size], precision: 2) %td - = link_to '', class: 'btn btn-xs btn-default' do + = link_to file_namespace_project_build_artifacts_path(path: file.path), + class: 'btn btn-xs btn-default' do = icon('download')