Passing events

10 views
Skip to first unread message

Moises Zaragoza

unread,
Jul 17, 2012, 11:07:44 AM7/17/12
to event-cale...@googlegroups.com
I am new to the events calendar and to rails but I think i got the calendar working but now i need to know how to pass the events.

on my controller i have

def calendar                                                                                                                                                                                                                                                                      
    @month = (params[:month] || (Time.zone || Time).now.month).to_i                                                                                                                                                                                                                 
    @year = (params[:year] || (Time.zone || Time).now.year).to_i                                                                                                                                                                                                                    
    @shown_month = Date.civil(@year, @month)                                                                                                                                                                                                                                        
    @event_strips = Event.event_strips_for_month(@shown_month)                                                                                                                                                                                              
end     


but i dont know how to pass in my events
Reply all
Reply to author
Forward
0 new messages