Class: User::RegistrationsController

Inherits:
Devise::RegistrationsController
  • Object
show all
Defined in:
app/controllers/user/registrations_controller.rb

Overview

Lets Devise pass custom fields to its Users

Instance Method Summary (collapse)

Instance Method Details

- (Object) destroy

DELETE /resource



28
29
30
31
# File 'app/controllers/user/registrations_controller.rb', line 28

def destroy
 super
 resource.destroy
end