Method: Admin::CustomersController#destroy
- Defined in:
- app/controllers/tang/admin/customers_controller.rb
#destroy ⇒ Object
DELETE /customers/1
33 34 35 36 |
# File 'app/controllers/tang/admin/customers_controller.rb', line 33 def destroy @customer.destroy redirect_to admin_customers_url, notice: 'Customer was successfully destroyed.' end |