function showEvent(eventid) {
$.get(
- '{{$baseurl}}/events/?id='+eventid,
+ '{{$event_api}}/'+eventid,
function(data){
$.colorbox({html:data});
}
year: yesterday.getFullYear(),
month: yesterday.getMonth(),
date: yesterday.getDate(),
- events: '{{$baseurl}}/events/json/',
+ events: 'calendar/api/get',
header: false,
timeFormat: 'H(:mm)',
defaultView: 'basicWeek',