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