#907: use "treeish" instead of "@commit.id" in link for download
This commit is contained in:
parent
e248f4175d
commit
901ccce79a
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue