diff options
author | James Lopez <james@jameslopez.es> | 2016-06-14 21:41:40 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-14 21:41:40 +0200 |
commit | fc5f6943f80cfa8c228d0f03fb8940e7d04ea2be (patch) | |
tree | 666925a59303eeb7c7c46e5bb8fce648cececa13 /app/controllers/import/gitlab_projects_controller.rb | |
parent | ff44198e17320c50ab9b4dc75ce72ad1be01ae52 (diff) | |
download | gitlab-ce-fc5f6943f80cfa8c228d0f03fb8940e7d04ea2be.tar.gz |
yay finally importing working with the new services structure
Diffstat (limited to 'app/controllers/import/gitlab_projects_controller.rb')
-rw-r--r-- | app/controllers/import/gitlab_projects_controller.rb | 2 |
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 |