items per page
This commit is contained in:
parent
c9c31d6db5
commit
228ec4a650
3 changed files with 5 additions and 5 deletions
|
|
@ -73,7 +73,8 @@ 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: 3)
|
||||
@event_limit = 3
|
||||
@pagy, @events_schedules = pagy_array(@event_list, items: @event_limit)
|
||||
@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