1
0
Fork 0
mirror of https://github.com/neocities/neocities.git synced 2025-05-16 01:17:19 +02:00

disable cache for now on activity closes

This commit is contained in:
Kyle Drake 2015-02-17 17:57:46 -08:00
parent 12b7a2830e
commit 78a5791e5a

View file

@ -1,5 +1,5 @@
get '/activity' do
expires 7200, :public, :must_revalidate if self.class.production? # 2 hours
#expires 7200, :public, :must_revalidate if self.class.production? # 2 hours
params[:activity] = 'global' # FIXME this is a bad hack
@events = Event.global_dataset.all
erb :'activity'