Commit d9f05f87 authored by Stan Hu's avatar Stan Hu

Merge branch 'an/fix-multipart-error-on-rails-reload' into 'master'

Fix multipart error on rails reload

See merge request gitlab-org/gitlab-ce!21540
parents c7eeb7b1 647db323
......@@ -83,7 +83,7 @@ module Gitlab
def open_file(params, key)
allowed_paths = [
FileUploader.root,
::FileUploader.root,
Gitlab.config.uploads.storage_path,
File.join(Rails.root, 'public/uploads/tmp')
]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment