[feat]Read fullcalendar license key from ENV

This commit is contained in:
Jimmy 2021-04-30 17:58:52 +08:00 committed by CactusPuppy
parent 657c9fdfb8
commit cb6219e812
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
4 changed files with 8 additions and 1 deletions

View file

@ -94,6 +94,7 @@ class SchedulesController < ApplicationController
@rooms = FullCalendarFormatter.rooms_to_resources(@conference.venue.rooms) if @conference.venue
@event_schedules = FullCalendarFormatter.event_schedules_to_resources(event_schedules)
@scheduler_license_key = Rails.configuration.fullcalendar[:license_key]
end
def app