Class: Users::RegistrationsController
- Inherits:
-
Devise::RegistrationsController
- Object
- Devise::RegistrationsController
- Users::RegistrationsController
- Defined in:
- app/controllers/users/registrations_controller.rb
Instance Method Summary collapse
-
#destroy ⇒ Object
DELETE /resource.
-
#edit ⇒ Object
GET /resource/edit.
-
#update ⇒ Object
PUT /resource.
Instance Method Details
#destroy ⇒ Object
DELETE /resource
28 29 30 31 |
# File 'app/controllers/users/registrations_controller.rb', line 28 def destroy current_user.questionnaire.destroy if current_user.questionnaire.present? super end |
#edit ⇒ Object
GET /resource/edit
18 19 20 |
# File 'app/controllers/users/registrations_controller.rb', line 18 def edit super end |
#update ⇒ Object
PUT /resource
23 24 25 |
# File 'app/controllers/users/registrations_controller.rb', line 23 def update super end |