From 474f5be8e7b075302e922397876c4c3cd72eac11 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 24 Feb 2015 13:51:19 -0800 Subject: [PATCH] disable cache on stats until I can figure out the top bar problem --- app/stats.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/stats.rb b/app/stats.rb index 0af92978..d0deded3 100644 --- a/app/stats.rb +++ b/app/stats.rb @@ -1,5 +1,5 @@ get '/stats/?' do - expires 14400, :public, :must_revalidate if self.class.production? # 4 hours + # expires 14400, :public, :must_revalidate if self.class.production? # 4 hours @stats = { total_sites: Site.count, @@ -84,4 +84,4 @@ get '/stats/?' do @stats[:percent_until_developer_salary] = (@stats[:monthly_revenue].to_f / ((@stats[:average_developer_salary]/12) + @stats[:expenses])) * 100 erb :'stats' -end \ No newline at end of file +end