app/controllers/devise_custom/registrations_controller.rb
# frozen_string_literal: true
module DeviseCustom
class RegistrationsController < Devise::RegistrationsController
private
def sign_up_params
params.require(:user).permit(:first_name, :last_name, :email, :password, :password_confirmation)
end
end
end