-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* @ghiculescu: #210 added the ability to set `targets` on a stream tag. But that doesn't work nicely with the `Broadcastable` helper methods. Currently you have to do this to target some `targets`: ```ruby after_update_commit -> { broadcast_update_to self, target: nil, targets: ".class_name" } ``` This PR improves things so that you don't need to provide `target: nil` anymore. -- This PR is a continuation of the work made by @ghiculescu at PR turbo-rails#408 * Add specs
- Loading branch information
1 parent
33019f3
commit 5199904
Showing
2 changed files
with
132 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters