devise overriding registrations controller - uninitialized constant Users::RegistrationsController

后端 未结 6 1859
时光说笑
时光说笑 2021-01-04 04:34

I\'m trying to override some the functionality of the default devise registrations controller so that only certain users can create accounts for others. So in a file called

6条回答
  •  鱼传尺愫
    2021-01-04 05:13

    I tried the same setup that you put here but it worked for me. I uploaded the application to github (I uploaded the log as well, so you can see that it really worked).

    Double check for possible typos. Maybe you forgot a plural or there is a typo on a Class name.

提交回复
热议问题