class Devise::RegistrationsController

def after_inactive_sign_up_path_for(resource)

this method in your own RegistrationsController.
The path used after sign up for inactive accounts. You need to overwrite
def after_inactive_sign_up_path_for(resource)
  respond_to?(:root_path) ? root_path : "/"
end