Commit 6139e143 authored by James Lopez's avatar James Lopez

fixing some rubucop warnings

parent 9d306eb1
......@@ -28,12 +28,11 @@ class Import::GitlabProjectController < Import::BaseController
def create
@file = params[:file]
# @project_name =
repo_owner = current_user.username
@target_namespace = params[:new_namespace].presence || repo_owner
namespace = get_or_create_namespace || (render and return)
# namespace = get_or_create_namespace || (render and return)
@project = Gitlab::ImportExport::ImportService.execute(archive_file: file, owner: repo_owner)
end
......
......@@ -22,4 +22,4 @@ class ProjectImportWorker
project.repository.after_import
project.import_finish
end
end
\ No newline at end of file
end
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