Class: Hangar::RecordsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Hangar::RecordsController
- Defined in:
- app/controllers/hangar/records_controller.rb
Instance Method Summary collapse
Instance Method Details
#delete ⇒ Object
3 4 5 6 |
# File 'app/controllers/hangar/records_controller.rb', line 3 def delete DatabaseCleaner.clean_with Hangar.clean_strategy, except: Hangar.do_not_delete head :no_content, content_type: "text/html" end |