diff options
author | James Lopez <james@jameslopez.es> | 2016-06-14 17:31:03 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-14 17:31:03 +0300 |
commit | 9ecebaaea16d206ed20a2f4fc0021a2145c873f5 (patch) | |
tree | 346f9df3661e5cd0e31116fa19270c8e0f3fc032 /app/controllers/import | |
parent | fe370b1c396cb3c290fcdb1d716a79ffe5c29169 (diff) |
adding notifications stuff and more refactoring for exporting projects
Diffstat (limited to 'app/controllers/import')
-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 98a9b5f1018..d4063747da4 100644 --- a/app/controllers/import/gitlab_projects_controller.rb +++ b/app/controllers/import/gitlab_projects_controller.rb @@ -12,7 +12,7 @@ class Import::GitlabProjectsController < Import::BaseController return redirect_back_or_default(options: { alert: "You need to upload a GitLab project export archive." }) end - @project = Gitlab::GitlabImport::ProjectCreator.new(Namespace.find(project_params[:namespace_id]), + @project = Gitlab::ImportExport::ProjectCreator.new(Namespace.find(project_params[:namespace_id]), current_user, File.expand_path(params[:file].path), project_params[:path]).execute |