From 017d3f215c07b426a5fdc314416199a817418faa Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Fri, 30 Aug 2019 18:23:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=BA=93=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shixuns/add_file.json.jbuilder | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/shixuns/add_file.json.jbuilder b/app/views/shixuns/add_file.json.jbuilder index 6f22dabc8..c3bbfbf8f 100644 --- a/app/views/shixuns/add_file.json.jbuilder +++ b/app/views/shixuns/add_file.json.jbuilder @@ -1,2 +1 @@ -json.content @content -json.path @path \ No newline at end of file +json.url "/shixuns/#{@shixun.identifier}/repository/master/shixun_show/#{path}" \ No newline at end of file