pagination
This commit is contained in:
parent
77b6dac6a2
commit
c9c31d6db5
2 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue