[import] - fix project import after refactoring

This commit is contained in:
Erwan Arzur 2013-01-22 19:07:11 +01:00
parent efe2f5f8c7
commit 621ca86b9e

View file

@ -44,7 +44,7 @@ namespace :gitlab do
:name => path,
}
project = Project.create_by_user(project_params, user)
project = Projects::CreateContext.new(user, project_params).execute
if project.valid?
puts " * Created #{project.name} (#{repo_name})".green