JSON url オプションを使用してjQuery Full Calendarプラグインを使用しようとしていますが、エラーは発生しませんが、イベントも表示されません。問題が何であるかを理解できません。
フル カレンダー コール:
$('#calendar').fullCalendar({
aspectRatio: 1.3,
defaultView: 'agendaWeek',
slotMinutes: 15,
editable: true,
allDaySlot:false,
events: '/appt/appointments/json_event_source'
});
URL からの応答の例
[
{
"id": "2",
"title": "Adrian Adams",
"start": "1346339700",
"end": "1346340600"
},
{
"id": "3",
"title": null,
"start": "1346166000",
"end": "1346169600"
},
{
"id": "4",
"title": "asdfEditeda asdf",
"start": "1346335200",
"end": "1346335200"
},
{
"id": "5",
"title": "asdfEditeda asdf",
"start": "1346335200",
"end": "1346335200"
},
{
"id": "6",
"title": "asdfEditeda asdf",
"start": "1346335200",
"end": "1346339700"
}
]