Commit 2f20d83502f4e8053ac02a999a20cfae53fc5cf0

Authored by Sergey Kuznetsov
1 parent 22ec3277
Exists in master and in 1 other branch production

github_url_to_file fixed

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/models/app.rb
... ... @@ -125,6 +125,7 @@ class App
125 125 end
126 126  
127 127 def github_url_to_file(file)
  128 + file = "/#{file}" unless file.start_with? '/'
128 129 "#{github_url}/blob/#{repo_branch + file}"
129 130 end
130 131  
... ...