fix error

This commit is contained in:
邱博亞 2021-04-20 16:51:26 +08:00
parent 47f23a0cdd
commit d203d79c8b
1 changed files with 1 additions and 1 deletions

View File

@ -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