Fix undefined attribute params from import task

This commit is contained in:
Douglas Barbosa Alexandre 2017-04-25 23:19:30 -03:00
parent 70d15ae1d9
commit f184cb433b
1 changed files with 0 additions and 1 deletions

View File

@ -71,7 +71,6 @@ class GithubImport
return @current_user.namespace if names == @current_user.namespace_path
return @current_user.namespace unless @current_user.can_create_group?
names = params[:target_namespace].presence || names
full_path_namespace = Namespace.find_by_full_path(names)
return full_path_namespace if full_path_namespace