diff --git a/app/controllers/ruling_templates_controller.rb b/app/controllers/ruling_templates_controller.rb index 6d2446d..8b10826 100644 --- a/app/controllers/ruling_templates_controller.rb +++ b/app/controllers/ruling_templates_controller.rb @@ -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