mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 14:53:37 +01:00
8 lines
281 B
Text
8 lines
281 B
Text
= turbo_stream.append "timeline" do
|
|
- @timeline.each do |answer|
|
|
= render "answerbox", a: answer
|
|
|
|
= turbo_stream.update "paginator" do
|
|
- if @more_data_available
|
|
= button_to "#{request.path}?last_id=#{@timeline_last_id}", class: "btn btn-light" do
|
|
= t("voc.load")
|