From dd3eed222803dce209496871fd7e0810f3a557cd Mon Sep 17 00:00:00 2001 From: Gabriel Silva Date: Fri, 20 May 2016 15:34:30 +0000 Subject: [PATCH] Fixes Download link --- src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb b/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb index bc7899a..2bccef1 100644 --- a/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb +++ b/src/noosfero-spb/software_communities/views/box_organizer/_download_file.html.erb @@ -1,6 +1,6 @@
  • <%= file.name%> - <%= number_to_human_size(file.size, precision: 2) %> - <%= hidden_field_tag :file_path, "/#{file.profile.identifier}/#{file.path}", :class => "file-path" %> + <%= hidden_field_tag :file_path, url_for(file.url), :class => "file-path" %>
  • -- libgit2 0.21.2