Attempt to slightly limit the ical events, to only have the future one...

This commit is contained in:
echarp 2018-07-14 16:40:01 +02:00
parent 9e50e3f76f
commit 95edd455a5
1 changed files with 1 additions and 1 deletions

View File

@ -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