Attach download action to artifacts file in ZIP archive

This commit is contained in:
Grzegorz Bizon 2016-01-11 11:07:41 +01:00
parent e9c2628220
commit 94cf759001
1 changed files with 2 additions and 1 deletions

View File

@ -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')