Commit 0d5467d9 authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 64615be4 7ec7e176
...@@ -53,7 +53,11 @@ class Import::GithubController < Import::BaseController ...@@ -53,7 +53,11 @@ class Import::GithubController < Import::BaseController
private private
def import_params def import_params
params.permit(:repo_id, :new_name, :target_namespace) params.permit(permitted_import_params)
end
def permitted_import_params
[:repo_id, :new_name, :target_namespace]
end end
def client def client
......
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