app/controllers/devise_controllers/confirmations_controller.rb
def after_confirmation_path_for(resource_name, resource)
    if signed_in?(resource_name)
      signed_in_root_path(resource)
    else
      new_session_path(resource_name)
    end
  end
# The path used after confirmation.
#
The path used after confirmation.
The path used after confirmation .
def after_confirmation_path_for(resource_name, resource)
    if signed_in?(resource_name)
      signed_in_root_path(resource)
    else
      new_session_path(resource_name)
    end
  end
def after_confirmation_path_for ( resource_name , resource ) if signed_in? ( resource_name ) signed_in_root_path ( resource ) else new_session_path ( resource_name ) end end
The path used after confirmation.
The path used after confirmation .
resource_name
resource