Closed shivakumaarmgs closed 10 years ago
Hi @shivakumaarmgs, I tried to replicate your issue but was unable to do. Please report back if you are still facing the issue.
Hi @aditya-kapoor, Still the issue exists. I have created a sample app which have the same issue and the link to that app is https://github.com/shivakumaarmgs/calendar-engine.
Hi @shivakumaarmgs, I have cloned your application and ran.
Looks like there is an issue with the cache. Please add the fullcalendar.yml
and clear out the cache directory in the tmp
directory and then try out.
Thanks a lot @aditya-kapoor. It works fine now.
Good to know that it works for you now Shiva.
Thanks for your help aditya
best,
Manik
On Tue, May 6, 2014 at 12:30 AM, Shivakumaar Mgs notifications@github.comwrote:
Thanks a lot @aditya-kapoor https://github.com/aditya-kapoor. It works fine now.
— Reply to this email directly or view it on GitHubhttps://github.com/vinsol/fullcalendar-rails-engine/issues/7#issuecomment-42224513 .
I ran the Rake command: rake tmp:clear
Finally worked for me.
I have installed
fullcalendar_engine
in my application. The mount point for engine in route file ismount FullcalendarEngine::Engine => "/calendar"
. The calendar appears inlocalhost:3000/calendar
path. But events are not displayed. I had also mentioned the mount point inconfig/fullcalendar.yml
filemount_path: "/calendar"
, still no use.The server logs while creating an event is as follows.
The server logs after creating and event (ie when the engine fetches the json from get_events funtion)
The JSON data are not available in
/events/get_events?start=1399141800&end=1399746600&_=1399215087828
path, i getNo route matches [GET] "/events/get_events.json"
error over there. Instead they are available on the/calendar/events/get_events?start=1231231.....
path[{"id":4,"title":"boss","description":"what","start":"2014-05-04T00:00:00Z","end":"2014-05-04T00:15:00Z","allDay":true,"recurring":false}]
as `/calendar' is the mount point of the engine in my application. Is there any work around to make it fetch from the correct path?My ruby and rails versions are