Module: Draper::Compatibility::Broadcastable
- Defined in:
- lib/draper/compatibility/broadcastable.rb
Overview
It would look consistent to use decorated objects inside templates broadcasted with Turbo::Broadcastable.
This compatibility patch fixes the issue by overriding the original defaults to decorate the object, that's passed to the partial in a local variable.