Merge branch 'master' of github.com:gitlabhq/gitlabhq

This commit is contained in:
Dmitriy Zaporozhets 2014-07-03 13:52:00 +03:00
commit e46ec91a94

View file

@ -22,6 +22,7 @@ class Projects::RepositoriesController < Projects::ApplicationController
if file_path
# Send file to user
response.headers["Content-Length"] = File.Open(file_path).size.to_s
send_file file_path
else
render_404