Module: DestroyedAt::Mapper::Routes
- Defined in:
- lib/destroyed_at/routes.rb
Instance Method Summary collapse
Instance Method Details
#set_member_mappings_for_resource ⇒ Object
5 6 7 8 9 10 |
# File 'lib/destroyed_at/routes.rb', line 5 def set_member_mappings_for_resource member do put :restore if parent_resource.actions.include?(:restore) end super end |