diff --git a/app/views/projects/tree/show.html.haml b/app/views/projects/tree/show.html.haml index 60ae95e..6b33493 100644 --- a/app/views/projects/tree/show.html.haml +++ b/app/views/projects/tree/show.html.haml @@ -1,7 +1,6 @@ %div.tree-ref-holder = render 'shared/ref_switcher', destination: 'tree', path: @path - if can? current_user, :download_code, @project - .tree-ref-holder.pull-right - = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small', split_button: true + = render 'projects/repositories/download_archive', ref: @ref, btn_class: 'btn-group-small tree-ref-holder pull-right', split_button: true %div#tree-holder.tree-holder = render "tree", tree: @tree -- libgit2 0.21.2