[style]Remove unused code

This commit is contained in:
Jimmy 2021-04-19 19:23:41 +08:00
parent 47f183fc89
commit 24d2fa89a8
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6

View file

@ -158,6 +158,5 @@ class ConferencesController < ApplicationController
@events_schedules_limit = EVENTS_PER_PAGE
@events_schedules_length = events_schedules_list.length
@pagy, @events_schedules = pagy_array(events_schedules_list, items: @events_schedules_limit, link_extra: 'data-remote="true"')
@happening_now_url = happening_now_conference_schedule_path(conference_id: @conference.short_title, format: :json)
end
end