From e174c710ef6e78c89399e062fbce6419753167e1 Mon Sep 17 00:00:00 2001 From: nieguanghui Date: Tue, 14 Jan 2014 09:33:00 +0800 Subject: [PATCH] add url to files --- app/views/stores/index.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index aa799d0a2..d2153f57f 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -81,13 +81,15 @@ 文件名 下载次数 + 下载次数 <% k.each do |c1|%> <%= link_to_attachment c1 %> - <%= c1.downloads %> + <%= c1.downloads %> + <%= attachFromUrl c1 %> <% end %>