Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-14 22:41:40 +0300
committerJames Lopez <james@jameslopez.es>2016-06-14 22:41:40 +0300
commitfc5f6943f80cfa8c228d0f03fb8940e7d04ea2be (patch)
tree666925a59303eeb7c7c46e5bb8fce648cececa13 /app/controllers/import
parentff44198e17320c50ab9b4dc75ce72ad1be01ae52 (diff)
yay finally importing working with the new services structure
Diffstat (limited to 'app/controllers/import')
-rw-r--r--app/controllers/import/gitlab_projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/gitlab_projects_controller.rb b/app/controllers/import/gitlab_projects_controller.rb
index aabb5cbb6b6..1de4c4828d2 100644
--- a/app/controllers/import/gitlab_projects_controller.rb
+++ b/app/controllers/import/gitlab_projects_controller.rb
@@ -33,7 +33,7 @@ class Import::GitlabProjectsController < Import::BaseController
private
def file_is_valid?
- project_params[:file].respond_to?(:read) && project_params[:file].content_type == 'application/x-gzip'
+ project_params[:file].respond_to?(:read)
end
def verify_project_and_namespace_access