devise overriding registrations controller - uninitialized constant Users::RegistrationsController

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

    Do rails routes and check your routes in config/routes you might have a typo in your routes.

    Instead of registrationS#new you might have something else like registration#new.

提交回复
热议问题