Not sure if this gem is still being maintained but figured I'd throw my issue out here. I am adding configs in fullcalendar.yml to override the defaults and some of them are not being overridden and I believe it is because they are being hard set again in app/assets/javascripts/fullcalendar_engine/fullcalendar.js in var defaults = {
However, defaultView, timeFormat and allDayDefault are not being set property, they are set to what is in fullcalendar.js. Even configs in config/initializers/configuration.rb are being overridden by what's in fullcalendar.js.
Anyone know how I can get this to work? Thanks for any help!
Hi,
Not sure if this gem is still being maintained but figured I'd throw my issue out here. I am adding configs in fullcalendar.yml to override the defaults and some of them are not being overridden and I believe it is because they are being hard set again in app/assets/javascripts/fullcalendar_engine/fullcalendar.js in var defaults = {
This is the contents of my fullcalendar.yml:
mount_path: "/fullcalendar" layout: 'custom' height: 1000 defaultView: 'agendaWeek' timeFormat: "h:mm a{ - h:mm a}" allDayDefault: false
However, defaultView, timeFormat and allDayDefault are not being set property, they are set to what is in fullcalendar.js. Even configs in config/initializers/configuration.rb are being overridden by what's in fullcalendar.js.
Anyone know how I can get this to work? Thanks for any help!