Pass `subscribed_answer_ids` into `answerbox` in Turbo Stream
This commit is contained in:
parent
6fc4049f6c
commit
0a97a86d73
|
@ -1,6 +1,6 @@
|
||||||
= turbo_stream.append "timeline" do
|
= turbo_stream.append "timeline" do
|
||||||
- @timeline.each do |answer|
|
- @timeline.each do |answer|
|
||||||
= render "answerbox", a: answer
|
= render "answerbox", a: answer, subscribed_answer_ids:
|
||||||
|
|
||||||
= turbo_stream.update "paginator" do
|
= turbo_stream.update "paginator" do
|
||||||
- if @more_data_available
|
- if @more_data_available
|
||||||
|
|
Loading…
Reference in New Issue