2012-11-01 25 views

回答

0

您可以覆蓋以下內容:

# The path used after resending confirmation instructions. 
def after_resending_confirmation_instructions_path_for(resource_name) 
    new_session_path(resource_name) 
end 

如果擴展Devise::ConfirmationsControllerDevise README有一個關於配置/擴展Devise控制器的小節。

0

也有多個回調,則可以覆蓋:

成功註冊

高清after_sign_up_path_for(資源) 結束

成功註冊後

高清after_sign_in_path_for(資源) end

相關問題