Devise 'translation missing' error with subclassed controller

前端 未结 1 1209
北海茫月
北海茫月 2021-02-20 17:41

I\'ve subclassed Devise::RegistrationsController. The subclassed controller, in my case, is AdminRegistrationsController.

But, when I sign up

相关标签:
1条回答
  • 2021-02-20 18:13

    You must do this :

    en:
      devise:
        admin_registrations:
          admin:
            signed_up: 'Welcome! You have signed up successfully.'
    
    0 讨论(0)
提交回复
热议问题