#907: use "treeish" instead of "@commit.id" in link for download

This commit is contained in:
Vokhmin Alexey V 2013-02-14 14:12:25 +04:00
parent e248f4175d
commit 901ccce79a
1 changed files with 1 additions and 1 deletions

View File

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