Customization is developed using a custom registration controller.

I am working on a rails site using devise, where we do not want user subscriptions yet. User authentication is that we can log in to access limited parts of the site and add / edit things at our discretion. Therefore, at the moment, I have created the following controller:

class Users::RegistrationController < Devise::SessionsController
  def new

  end
end

And configure my routes this way:

devise_for :users, :controllers => { :registration => "users/registration" }

However, when I run the rake routes, I still see the return value for the create action on the registration controller. Any ideas on how to get rid of it?

+5
source share
1 answer

:registrations :registration. , , :

class Users::RegistrationsController < Devise::RegistrationsController
+4

All Articles