app/controllers/confirmations_controller.rb
# Remove the first skip_before_filter (:require_no_authentication) if you
# don't want to enable logged users to access the confirmation page.
Remove the first skip_before_filter (:require_no_authentication) if you
don't want to enable logged users to access the confirmation page.
Remove the first skip_before_filter ( : require_no_authentication ) if you don ' t want to enable logged users to access the confirmation page .
def do_confirm
    @confirmable.confirm
    set_flash_message :notice, :confirmed
    sign_in_and_redirect(resource_name, @confirmable)
  end
def do_confirm @confirmable . confirm set_flash_message :notice , :confirmed sign_in_and_redirect ( resource_name , @confirmable ) end
Remove the first skip_before_filter (:require_no_authentication) if you
don't want to enable logged users to access the confirmation page.
Remove the first skip_before_filter ( : require_no_authentication ) if you don ' t want to enable logged users to access the confirmation page .