在我的Rails應用程序中,我想接受任何在「users /」鏈接之後出現的字符串。我該怎麼做?那就是例如。 users/xyz或user/asdas是可以接受的。我該怎麼做呢? def store_location
# store last url - this is needed for post-login redirect to whatever the user last vis
我在我的應用程序中使用設計進行身份驗證。當用戶註冊確認電子郵件發送給用戶說, Welcome [email protected] !
You can confirm your account email through the link below:
Confirm my account
但我想顯示用戶的名稱,而不是電子郵件。我怎樣才能實現這個?請幫忙。我和我一起設計視角。但它使用一個