mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
disable cache for now on activity closes #72
This commit is contained in:
parent
12b7a2830e
commit
78a5791e5a
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
get '/activity' do
|
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
|
params[:activity] = 'global' # FIXME this is a bad hack
|
||||||
@events = Event.global_dataset.all
|
@events = Event.global_dataset.all
|
||||||
erb :'activity'
|
erb :'activity'
|
||||||
|
|
Loading…
Add table
Reference in a new issue