The parameter that can be used to have future *and* past events in the rss feed is renamed to future
This commit is contained in:
parent
620c08f095
commit
0cc86601d0
@ -108,10 +108,10 @@ class EventsController < ApplicationController
|
||||
end
|
||||
|
||||
def filter_for_rss
|
||||
if(!params.has_key?(:showall))
|
||||
@events.future.order('id desc').limit 20
|
||||
if params[:future].present? && params[:future] == 'false'
|
||||
@events.order 'id desc'
|
||||
else
|
||||
@events.order('id desc')
|
||||
@events.future.order('id desc').limit 20
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user