render_turbo_stream 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/render_turbo_stream/version.rb +1 -1
- data/lib/render_turbo_stream.rb +2 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 740e9df76f8c575bc3a993c3bc3ad524d70e1a4593c21906ca41d16dc426399b
|
4
|
+
data.tar.gz: 6ea17ebf4b85712130b3b5289cecffcf76d043cb6d1638bfa68f27c7d1aa7494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dd54e9153f44bc4e6104132d75f1b7ad9613569f8f2c49c5b0a44711aacb6eac92c0c77a82bec52b82491b3450010fcffc581221340d5510c0f87bcf2650b74
|
7
|
+
data.tar.gz: e337836ec7353f535236f6e9aac1b7aa4c514d3eb370464bfb6cc7499f32b41c3501c89146a864781b15ba6145d2849439fb91564676f9a0b3a2b197ea686455
|
data/lib/render_turbo_stream.rb
CHANGED
@@ -137,12 +137,8 @@ module RenderTurboStream
|
|
137
137
|
response.status = 302
|
138
138
|
flash.now[:alert] = flash_alerts
|
139
139
|
flash.now[:notice] = flash_notices
|
140
|
-
render_turbo_stream(
|
141
|
-
|
142
|
-
:redirect_to,
|
143
|
-
turbo_redirect_on_success_to
|
144
|
-
]
|
145
|
-
])
|
140
|
+
render_turbo_stream(streams)
|
141
|
+
redirect_to redirect_on_success_to
|
146
142
|
|
147
143
|
else
|
148
144
|
flash.now[:alert] = flash_alerts
|