disable cache for now on activity closes #72

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'