diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-11 11:07:41 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:16 +0100 |
commit | 94cf75900181f1d73840f4306ee1a1a157800744 (patch) | |
tree | 4af3e26c92a23aa8b0097ce3383e11cdcabc9daf | |
parent | e9c2628220ed3a9d82cba31e7c9d2654c20235c8 (diff) | |
download | gitlab-ce-94cf75900181f1d73840f4306ee1a1a157800744.tar.gz |
Attach download action to artifacts file in ZIP archive
-rw-r--r-- | app/views/projects/artifacts/_tree_file.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
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') |