From 54aef57287596c540ceba7e0728381cf83154c9b Mon Sep 17 00:00:00 2001 From: nieguanghui Date: Tue, 14 Jan 2014 10:12:55 +0800 Subject: [PATCH] download --- app/views/stores/index.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index d2153f57f..ee7cda629 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -81,15 +81,15 @@ 文件名 下载次数 - 下载次数 + 下载 <% k.each do |c1|%> - <%= link_to_attachment c1 %> + <%= link_to c1.filename, (attachFromUrl c1) %> <%= c1.downloads %> - <%= attachFromUrl c1 %> + <%= link_to_attachment c1, {:text => "下载"}%> <% end %>