Commit 89d4a0da0fbbefbfa3c58df84eac9529561170fb
1 parent
52da92f2
Fix download block. Now it redirects when it's not a file to download
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
views/blocks/download.html.erb
... | ... | @@ -7,7 +7,7 @@ |
7 | 7 | <% block.downloads.each_with_index do |download, index| %> |
8 | 8 | <div id="download-info-<%=(index+1)%>"> |
9 | 9 | <div id="version01"> |
10 | - <%= link_to download[:link], title: _("Download the software"), download: block.owner.name do %> | |
10 | + <%= link_to download[:link], title: _("Download the software") do %> | |
11 | 11 | <span id="image-download"></span> |
12 | 12 | <span id="size-download"><%= download[:size] %></span> |
13 | 13 | <% end %> | ... | ... |