Retrospring/app/views/public/index.haml

12 lines
411 B
Plaintext

#timeline
- @timeline.each do |answer|
= render 'answerbox', a: answer
= render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @timeline_last_id
- if @more_data_available
%button#load-more-btn.btn.btn-default{type: :button, data: { last_id: @timeline_last_id }}
Load more
- provide(:title, generate_title("Public Timeline"))
- parent_layout "feed"