fix error

This commit is contained in:
chiu committed 2021-04-20 16:51:26 +08:00
1 parent 47f23a0cdd
commit d203d79c8b
1 file changed
+1 -1
@@ -30,7 +30,7 @@ class RulingTemplatesController < ApplicationController
if r_template.git_url.blank?
render :json => {url: r_template.template_zip.url,type: 'zip'}.to_json
else
render :json => {url: r_template.git_url,branch: r_template.git_branch,type: 'git'}.to_json
render :json => {url: r_template.git_url+'.git',branch: r_template.git_branch,type: 'git'}.to_json
end
end
end