jpw*_*ynn 4 ruby-on-rails devise
我的rails 3应用程序使用设计,我们设置它,以便用户通过电子邮件发送确认令牌.
一旦用户注册,设置'闪烁'以下提示我需要更改:
You have signed up successfully. However, we could not
sign you in because your account is unconfirmed.
Run Code Online (Sandbox Code Playgroud)
此消息不在devise.en.yaml文件中...
有谁知道如何更改此Flash消息?
尝试添加inactive_signed_up在config/locales/devise.en.yml:
en:
devise:
registrations:
inactive_signed_up: 'You have signed up successfully. However, we could not sign you in because your account is %{reason}.'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1158 次 |
| 最近记录: |