Merge branch 'master' of github.com:neocities/neocities

This commit is contained in:
Victoria Wang 2015-02-24 16:46:52 -06:00
commit 9aa0f245ea

View file

@ -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
end