diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-26 05:19:30 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-26 05:19:30 +0300 |
commit | f184cb433b90e5b03d8a2ecf9916e7a1bfda5ee9 (patch) | |
tree | c5f8fcf1ef3e24d293b7dd191851c091cb5633f3 | |
parent | 70d15ae1d968070e82028dd48c15c363ac9f8fa9 (diff) |
Fix undefined attribute params from import task
-rw-r--r-- | lib/tasks/import.rake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake index 897b2f04ce1..e22424c98d3 100644 --- a/lib/tasks/import.rake +++ b/lib/tasks/import.rake @@ -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 |