vinsol / fullcalendar-rails-engine

Rails engine implementation of fullcalendar jQuery plugin(http://arshaw.com/fullcalendar/). Create, edit, delete, reschedule, resize events like google calendar.
http://vinsol.com/fullcalendar-demo
MIT License
66 stars 51 forks source link

How to set custom options in fullcalendar.yml #17

Closed ehannes closed 8 years ago

ehannes commented 9 years ago

I'm trying to set custom options in the fullcalendar.yml. The mount and the layout functions are working, but when I try to set any of the fullcalendar options, like weekNumbers: true, or editable: false nothing happens.Am I missing something to get this working? I am using the fullcalendar engine demo app to try getting any of these functions to work.

ehannes commented 8 years ago

I finally got this to work!

  1. Restart your server
  2. Force reload of fullcalendar_engine/events.js.erb. Since it's an erb-file, Ruby writes to the file, but the web server is unaware of the changes.