Module: TheSortableTreeController::DefineDeprecatedMethods
- Defined in:
- app/controllers/the_sortable_tree_controller.rb
Overview
include TheSortableTreeController::Rebuild include TheSortableTreeController::ExpandNode include TheSortableTreeController::ReversedRebuild
Instance Method Summary collapse
Instance Method Details
#head_respond(status = :ok) ⇒ Object
8 9 10 |
# File 'app/controllers/the_sortable_tree_controller.rb', line 8 def head_respond(status = :ok) Rails::VERSION::STRING.to_f >= 5.1 ? head(status) : render(nothing: true, status: status) end |