fix for stats view

This commit is contained in:
Kyle Drake 2023-12-25 16:50:40 +00:00
parent 9b67926cc2
commit 8dc323d803
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
RubyVM::YJIT.enable
ENV['RACK_ENV'] ||= 'development'
ENV['TZ'] = 'UTC'
DIR_ROOT = File.expand_path File.dirname(__FILE__)

View file

@ -139,7 +139,7 @@
<h2>
Total Visitors
<small>
<% if params[:days].blank? %>
<% if params[:days].to_s.blank? %>
last <%= @default_stat_points %> days
<% elsif params[:days] == 'sincethebigbang' %>
all time