diff --git a/app/views/projects/base/_repo_block.html.haml b/app/views/projects/base/_repo_block.html.haml index 58a6f97f7..e22e7dd42 100644 --- a/app/views/projects/base/_repo_block.html.haml +++ b/app/views/projects/base/_repo_block.html.haml @@ -7,7 +7,7 @@ =image_tag 'zip.png', :alt => 'ZIP' %b.caret %ul.dropdown-menu - - file_name = "#{@project.owner.uname}-#{@project.name}-#{@commit.id}" + - file_name = "#{@project.owner.uname}-#{@project.name}-#{treeish}" %li=link_to "tar.gz", archive_path(project, file_name, 'tar.gz') %li=link_to "zip", archive_path(project, file_name, 'zip')