updates to stats

This commit is contained in:
Kyle Drake 2015-06-06 07:13:04 -07:00
parent 453e762f8c
commit 6452442f42
2 changed files with 9 additions and 10 deletions

View file

@ -47,6 +47,8 @@ get '/site/:username/stats' do
@site = Site[username: params[:username]]
not_found if @site.nil?
@title = "Site stats for #{@site.host}"
@stats = {}
%i{referrers locations paths}.each do |stat|