Class: ActionAuth::UsersController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ActionAuth::UsersController
- Defined in:
- app/controllers/action_auth/users_controller.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
5 6 7 8 |
# File 'app/controllers/action_auth/users_controller.rb', line 5 def destroy Current.user.destroy redirect_to main_app.root_url, notice: "Your account has been deleted." end |