diff --git a/app/models/app.rb b/app/models/app.rb index 33fa274..2f9fb2a 100644 --- a/app/models/app.rb +++ b/app/models/app.rb @@ -125,7 +125,7 @@ class App end def github_url_to_file(file) - "#{github_url}/blob/#{repo_branch + file}" + "#{github_url}/blob/#{repo_branch}/#{file}" end def bitbucket_repo? @@ -137,7 +137,7 @@ class App end def bitbucket_url_to_file(file) - "#{bitbucket_url}/src/#{repo_branch + file}" + "#{bitbucket_url}/src/#{repo_branch}/#{file}" end -- libgit2 0.21.2