pagination

This commit is contained in:
madhekare 2021-04-07 21:07:24 -07:00
parent 77b6dac6a2
commit c9c31d6db5
2 changed files with 6 additions and 4 deletions

View file

@ -73,7 +73,7 @@ class ConferencesController < ApplicationController
end
if splashpage.include_happening_now
@event_list = get_happening_now_events_schedules(@conference)
@pagy, @events_schedules = pagy_array(@event_list, items: 2)
@pagy, @events_schedules = pagy_array(@event_list, items: 3)
@happening_now_url = happening_now_conference_schedule_path(conference_id: @conference.short_title, format: :json)
end
end