Class: ForeignUsersController
- Inherits:
-
AdminController
- Object
- ApplicationController
- AdminController
- ForeignUsersController
- Defined in:
- app/controllers/foreign_users_controller.rb
Overview
Handling foreign users
Instance Method Summary collapse
-
#destroy ⇒ Object
delete /foreign_users/:id.
Instance Method Details
#destroy ⇒ Object
delete /foreign_users/:id
8 9 10 11 12 |
# File 'app/controllers/foreign_users_controller.rb', line 8 def destroy flash[:notice] = t('foreign_users.destroy.success') if @entity.destroy redirect_to admin_foreign_users_path end |