Attempt to slightly limit the ical events, to only have the future one...
This commit is contained in:
parent
9e50e3f76f
commit
95edd455a5
@ -15,8 +15,8 @@ class EventsController < ApplicationController
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json { @events = @events.future }
|
||||
format.ics { @events = @events.future }
|
||||
format.rss { @events = filter_for_rss }
|
||||
format.ics { @events = @events.last_year }
|
||||
format.xml
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user