Class: HideAncestry::ModelManage::Restore
- Defined in:
- lib/hide_ancestry/model_manage/restore.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from HideAncestry::ModelManage::Base
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 |
# File 'lib/hide_ancestry/model_manage/restore.rb', line 4 def call instance.reload restore_parent restore_children change_hidden_status(false) end |