summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/tree/show.html.haml')
-rw-r--r--app/views/projects/tree/show.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml
index bf5360b4dee..37d341212af 100644
--- a/app/views/projects/tree/show.html.haml
+++ b/app/views/projects/tree/show.html.haml
@@ -10,8 +10,7 @@
%div{ class: container_class }
.tree-controls
= render 'projects/find_file_link'
- - if can? current_user, :download_code, @project
- = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'hidden-xs hidden-sm btn-grouped', split_button: true
+ = render 'projects/buttons/download', project: @project, ref: @ref
#tree-holder.tree-holder.clearfix
.nav-block