Devise 'translation missing' error with subclassed controller

前端 未结 1 1241
北海茫月
北海茫月 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)
提交回复
热议问题