diff options
author | James Lopez <james@jameslopez.es> | 2016-06-14 22:41:40 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-14 22:41:40 +0300 |
commit | fc5f6943f80cfa8c228d0f03fb8940e7d04ea2be (patch) | |
tree | 666925a59303eeb7c7c46e5bb8fce648cececa13 /app | |
parent | ff44198e17320c50ab9b4dc75ce72ad1be01ae52 (diff) |
yay finally importing working with the new services structure
Diffstat (limited to 'app')
-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 |