diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-13 20:19:11 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-13 20:19:11 +0300 |
commit | 278a0e1a0fb094dc2eceec0d82d9a56be81c8046 (patch) | |
tree | cb5db9f3d222ef174d8dd5e2a851210f8e9d05c1 /app/views/projects/builds | |
parent | 58b4e5531bfaaa385e31aa71dfb2236372733f48 (diff) |
Fix keep action of build artifacts widget
Diffstat (limited to 'app/views/projects/builds')
-rw-r--r-- | app/views/projects/builds/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml index 7127acf388b..cab21f0cf19 100644 --- a/app/views/projects/builds/_sidebar.html.haml +++ b/app/views/projects/builds/_sidebar.html.haml @@ -27,7 +27,7 @@ - if @build.artifacts? .btn-group.btn-group-justified{ role: :group } - if @build.artifacts_expire_at - = link_to keep_namespace_project_build_artifacts_path(@project.namespace, @project, @build), class: 'btn btn-sm btn-default' do + = link_to keep_namespace_project_build_artifacts_path(@project.namespace, @project, @build), class: 'btn btn-sm btn-default', method: :post do Keep = link_to download_namespace_project_build_artifacts_path(@project.namespace, @project, @build), class: 'btn btn-sm btn-default' do |