Commit 1a93b231 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Backport github import fix from EE

For codebase consistency
Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent af70d985
......@@ -51,7 +51,11 @@ class Import::GithubController < Import::BaseController
private
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
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