mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for stats view
This commit is contained in:
parent
9b67926cc2
commit
8dc323d803
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
RubyVM::YJIT.enable
|
||||
ENV['RACK_ENV'] ||= 'development'
|
||||
ENV['TZ'] = 'UTC'
|
||||
DIR_ROOT = File.expand_path File.dirname(__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
|
||||
|
|
Loading…
Add table
Reference in a new issue