I am writing the admin area for the site; you need to enable the registration of a new account only after logging into an existing account. It was thought to completely disable registration:
routing
devise_for :users , :skip => :registerable model
devise :database_authenticatable, :recoverable, :rememberable, :trackable, :validatable But this is a bit wrong, tell me something. Thought to register before_filter :authenticate_admin! in the devise controller, but I don't know where it is located.