[style]Remove unused code

This commit is contained in:
Jimmy 2021-04-19 19:23:41 +08:00 committed by CactusPuppy
parent 55ffee531a
commit 8a335e5e8d
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

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