Commit 155788ab authored by Rémy Coutable's avatar Rémy Coutable

Resolve app/controllers/projects/imports_controller.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 8164723e
......@@ -68,7 +68,6 @@ class Projects::ImportsController < Projects::ApplicationController
end
def import_params
<<<<<<< HEAD
params.require(:project).permit(:import_url, :mirror, :mirror_user_id)
end
......@@ -76,12 +75,5 @@ class Projects::ImportsController < Projects::ApplicationController
return import_params if valid_mirror_user?(import_params)
import_params.merge(mirror_user_id: current_user.id)
=======
params.require(:project).permit(:import_url)
end
def safe_import_params
import_params
>>>>>>> upstream/master
end
end
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