devise overriding registrations controller - uninitialized constant Users::RegistrationsController

后端 未结 6 1947
时光说笑
时光说笑 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:09

    I would say, there's something wrong at your filename.

    Your file should be called users/registrations_controller.rb

    That works for me.

提交回复
热议问题