From c5cc816dece5a001df79a6d60d973e320bb368d0 Mon Sep 17 00:00:00 2001 From: yanxd Date: Thu, 16 Jan 2014 15:57:40 +0800 Subject: [PATCH] fix user url error --- app/views/stores/search.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/stores/search.html.erb b/app/views/stores/search.html.erb index 730eb4d7b..1bc63e783 100644 --- a/app/views/stores/search.html.erb +++ b/app/views/stores/search.html.erb @@ -27,7 +27,7 @@ 下载:<%= result.downloads%>| 大小:<%= number_to_human_size(result.filesize) %>| - 共享者:<%= link_to result.author%>| + 共享者:<%= link_to result.author, user_path(result.author), target: "_blank"%>| 上传时间:<%= format_time(result.created_on) %>